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

[Xen-changelog] [xen-unstable] nested vmx: VM_ENTRY_IA32E_MODE shouldn't be in default1 class


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Sat, 25 Aug 2012 02:44:07 +0000
  • Delivery-date: Sat, 25 Aug 2012 02:44:22 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Zhang Xiantao <xiantao.zhang@xxxxxxxxx>
# Date 1345798154 -3600
# Node ID 42f959fec02d56bbff6a7fb95484ed8baabfa64f
# Parent  4ca40e0559c33205fb5163b10249a0fd5fda39b9
nested vmx: 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>
Committed-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 4ca40e0559c3 -r 42f959fec02d xen/arch/x86/hvm/vmx/vvmx.c
--- a/xen/arch/x86/hvm/vmx/vvmx.c       Thu Aug 23 19:12:28 2012 +0100
+++ b/xen/arch/x86/hvm/vmx/vvmx.c       Fri Aug 24 09:49:14 2012 +0100
@@ -1334,7 +1334,6 @@ int nvmx_msr_read_intercept(unsigned int
     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;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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