icanhasvmx: our vmx requires unrestricted guest too
This commit is contained in:
parent
4ee54b1416
commit
1470d22cdb
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue