Page MenuHomeFreeBSD

D51480.diff
No OneTemporary

D51480.diff

diff --git a/usr.sbin/bhyve/amd64/xmsr.c b/usr.sbin/bhyve/amd64/xmsr.c
--- a/usr.sbin/bhyve/amd64/xmsr.c
+++ b/usr.sbin/bhyve/amd64/xmsr.c
@@ -204,6 +204,15 @@
*val = 1;
break;
+ case MSR_VM_CR:
+ /*
+ * We currently don't support nested virt.
+ * Windows seems to ignore the cpuid bits and reads this
+ * MSR anyways.
+ */
+ *val = VM_CR_SVMDIS;
+ break;
+
default:
error = -1;
break;

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 11, 5:04 AM (9 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31268702
Default Alt Text
D51480.diff (427 B)

Event Timeline