icanhasvmx: our vmx requires unrestricted guest too

This commit is contained in:
Sigrid Solveig Haflínudóttir 2022-05-15 16:23:13 +00:00 committed by xfnw
parent 2c7f86e0d4
commit 2bb988b1e2

View file

@ -241,6 +241,10 @@ main(int argc, char **argv)
print("no VPID support\n"); print("no VPID support\n");
no++; no++;
} }
if((msr >> 32 & PROCB_UNRESTR) == 0){
print("no unrestricted guest support\n");
no++;
}
} }
if(no == 0) if(no == 0)
print("VMX is supported\n"); print("VMX is supported\n");