summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>2022-05-15 16:23:13 +0000
committerSigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>2022-05-15 16:23:13 +0000
commit1470d22cdbebc9c0c18a590891f2d43d1646f4bd (patch)
tree8de3e479f2749b6dcfb66544f25e9925cf664482
parent4ee54b14169eb02a59754c8e9027549ada3f8533 (diff)
icanhasvmx: our vmx requires unrestricted guest too
-rw-r--r--sys/src/cmd/aux/icanhasvmx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/cmd/aux/icanhasvmx.c b/sys/src/cmd/aux/icanhasvmx.c
index 0b1592ebc..d4d03ce0f 100644
--- a/sys/src/cmd/aux/icanhasvmx.c
+++ b/sys/src/cmd/aux/icanhasvmx.c
@@ -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");