[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 2/2] Nested: VM_ENTRY_IA32E_MODE shouldn't be in default1 class



From eb20603913ff7350cd25b39d1eb37b8fddd16053 Mon Sep 17 00:00:00 2001

From: Zhang Xiantao <xiantao.zhang@xxxxxxxxx>

Date: Sat, 25 Aug 2012 04:11:08 +0800

Subject: [PATCH 2/2] Nested: VM_ENTRY_IA32E_MODE shouldn't be in default1 class

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@xxxxxxxxx>

---

xen/arch/x86/hvm/vmx/vvmx.c |    1 -

1 files changed, 0 insertions(+), 1 deletions(-)

 

diff --git a/xen/arch/x86/hvm/vmx/vvmx.c b/xen/arch/x86/hvm/vmx/vvmx.c

index 8e005cd..55781e9 100644

--- 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 = "">

-        data |= VM_ENTRY_IA32E_MODE;

         data = "" << 32) | data;

         break;

--

1.7.0.4

 

 

 

Attachment: 0002-Nested-VM_ENTRY_IA32E_MODE-shouldn-t-be-in-default1-.patch
Description: 0002-Nested-VM_ENTRY_IA32E_MODE-shouldn-t-be-in-default1-.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.