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

[Xen-changelog] [xen-unstable] nestedsvm: allow l1 guest to use OSXSAVE



# HG changeset patch
# User Christoph Egger <Christoph.Egger@xxxxxxx>
# Date 1310110256 -3600
# Node ID c86b78b44b32cf2e3690e93bc5e93217ccf312a2
# Parent  7fe0331986c533117e67772eab0506a6672fe2fa
nestedsvm: allow l1 guest to use OSXSAVE

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---


diff -r 7fe0331986c5 -r c86b78b44b32 xen/arch/x86/hvm/svm/svmdebug.c
--- a/xen/arch/x86/hvm/svm/svmdebug.c   Fri Jul 08 08:30:41 2011 +0100
+++ b/xen/arch/x86/hvm/svm/svmdebug.c   Fri Jul 08 08:30:56 2011 +0100
@@ -124,8 +124,13 @@
         PRINTF("CR3: MBZ bits are set (0x%"PRIx64")\n", vmcb->_cr3);
     }
 
-    if ((vmcb->_cr4 >> 11U) != 0) {
-        PRINTF("CR4: bits [63:11] are not zero (0x%"PRIx64")\n",
+    if ((vmcb->_cr4 >> 19U) != 0) {
+        PRINTF("CR4: bits [63:19] are not zero (0x%"PRIx64")\n",
+                vmcb->_cr4);
+    }
+
+    if (((vmcb->_cr4 >> 11U) & 0x7fU) != 0) {
+        PRINTF("CR4: bits [17:11] are not zero (0x%"PRIx64")\n",
                 vmcb->_cr4);
     }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.