WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] nestedsvm: allow l1 guest to use OSXSAVE
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Sun, 10 Jul 2011 08:44:10 +0100
Delivery-date: Sun, 10 Jul 2011 00:44:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] nestedsvm: allow l1 guest to use OSXSAVE, Xen patchbot-unstable <=