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
parent 4ee54b1416
commit 1470d22cdb

View file

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