projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac963eb
)
nested vmx: VM_ENTRY_IA32E_MODE shouldn't be in default1 class
author
Zhang Xiantao
<xiantao.zhang@intel.com>
Fri, 24 Aug 2012 08:49:14 +0000
(09:49 +0100)
committer
Zhang Xiantao
<xiantao.zhang@intel.com>
Fri, 24 Aug 2012 08:49:14 +0000
(09:49 +0100)
for IA32_VM_ENTRY_CTLS_MSR.
If set to 1, L2 guest's paging mode maybe mis-judged
and mis-set.
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/vmx/vvmx.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/vmx/vvmx.c
b/xen/arch/x86/hvm/vmx/vvmx.c
index fc733a9dbb623bdc5e79b0e1d1ecf0e05ca2a2bd..2e0b79dc2dc0604949d02c22360cb0173693e7db 100644
(file)
--- a/
xen/arch/x86/hvm/vmx/vvmx.c
+++ b/
xen/arch/x86/hvm/vmx/vvmx.c
@@
-1334,7
+1334,6
@@
int nvmx_msr_read_intercept(unsigned int msr, u64 *msr_content)
case MSR_IA32_VMX_ENTRY_CTLS:
/* bit 0-8, and 12 must be 1 (refer G5 of SDM) */
data = 0x11ff;
- data |= VM_ENTRY_IA32E_MODE;
data = (data << 32) | data;
break;