All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] Nested: VM_ENTRY_IA32E_MODE shouldn't be in default1 class
@ 2012-08-24  8:30 Zhang, Xiantao
  0 siblings, 0 replies; only message in thread
From: Zhang, Xiantao @ 2012-08-24  8:30 UTC (permalink / raw)
  To: xen-devel; +Cc: Keir Fraser (keir.xen@gmail.com), Zhang, Xiantao


[-- Attachment #1.1: Type: text/plain, Size: 984 bytes --]

>From eb20603913ff7350cd25b39d1eb37b8fddd16053 Mon Sep 17 00:00:00 2001
From: Zhang Xiantao <xiantao.zhang@intel.com>
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@intel.com>
---
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 = 0x11ff;
-        data |= VM_ENTRY_IA32E_MODE;
         data = (data << 32) | data;
         break;
--
1.7.0.4




[-- Attachment #1.2: Type: text/html, Size: 6578 bytes --]

[-- Attachment #2: 0002-Nested-VM_ENTRY_IA32E_MODE-shouldn-t-be-in-default1-.patch --]
[-- Type: application/octet-stream, Size: 958 bytes --]

From eb20603913ff7350cd25b39d1eb37b8fddd16053 Mon Sep 17 00:00:00 2001
From: Zhang Xiantao <xiantao.zhang@intel.com>
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@intel.com>
---
 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 = 0x11ff;
-        data |= VM_ENTRY_IA32E_MODE;
         data = (data << 32) | data;
         break;
 
-- 
1.7.0.4


[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-24  8:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-24  8:30 [PATCH 2/2] Nested: VM_ENTRY_IA32E_MODE shouldn't be in default1 class Zhang, Xiantao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.