summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2016-07-16 06:20:25 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2016-07-16 06:20:25 +0000
commitb6237f43f6d2a97d1a88caddb981cacc668c1ed6 (patch)
tree107ea8dd4cf6c5c6ab8bcf2dc7022d2fb2c6d41c /sys/arch
parenta953198f7de0062db634ad40e98c6f9ead5a60e2 (diff)
Fix an incorrect shift value when calculating the mask for the VMCS MSR
list storage size. Noticed when attempting to get vmm(4) to nest under Hyper-V.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/include/specialreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/specialreg.h b/sys/arch/amd64/include/specialreg.h
index c9a6e065be7..7669b55d222 100644
--- a/sys/arch/amd64/include/specialreg.h
+++ b/sys/arch/amd64/include/specialreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: specialreg.h,v 1.44 2016/06/22 07:22:00 mlarkin Exp $ */
+/* $OpenBSD: specialreg.h,v 1.45 2016/07/16 06:20:24 mlarkin Exp $ */
/* $NetBSD: specialreg.h,v 1.1 2003/04/26 18:39:48 fvdl Exp $ */
/* $NetBSD: x86/specialreg.h,v 1.2 2003/04/25 21:54:30 fvdl Exp $ */
@@ -1043,7 +1043,7 @@
#define IA32_VMX_EPT_FAULT_WAS_WRITABLE (1ULL << 4)
#define IA32_VMX_EPT_FAULT_WAS_EXECABLE (1ULL << 5)
-#define IA32_VMX_MSR_LIST_SIZE_MASK (3ULL << 25)
+#define IA32_VMX_MSR_LIST_SIZE_MASK (7ULL << 25)
/*
* SVM