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-4.0-testing] x86: Hide CPUID leaf 7 from PV guests.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] x86: Hide CPUID leaf 7 from PV guests.
From: Xen patchbot-4.0-testing <patchbot@xxxxxxx>
Date: Sat, 04 Jun 2011 01:22:08 +0100
Delivery-date: Fri, 03 Jun 2011 17:23:37 -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 Keir Fraser <keir@xxxxxxx>
# Date 1307090561 -3600
# Node ID ddb62f4f7ff6d2909c9c342c4b50f99295843740
# Parent  01842fdf5d51975587e208000edf21e2ec1fa5ac
x86: Hide CPUID leaf 7 from PV guests.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
xen-unstable changeset:   23461:5839e797a130
xen-unstable date:        Thu Jun 02 14:39:50 2011 +0100
---


diff -r 01842fdf5d51 -r ddb62f4f7ff6 tools/libxc/xc_cpuid_x86.c
--- a/tools/libxc/xc_cpuid_x86.c        Thu Jun 02 14:47:10 2011 +0100
+++ b/tools/libxc/xc_cpuid_x86.c        Fri Jun 03 09:42:41 2011 +0100
@@ -345,6 +345,7 @@
         clear_bit(X86_FEATURE_NODEID_MSR, regs[2]);
         clear_bit(X86_FEATURE_TOPOEXT, regs[2]);
         break;
+    case 7:
     case 0xd: /* XSAVE */
     case 5: /* MONITOR/MWAIT */
     case 0xa: /* Architectural Performance Monitor Features */
diff -r 01842fdf5d51 -r ddb62f4f7ff6 xen/arch/x86/traps.c
--- a/xen/arch/x86/traps.c      Thu Jun 02 14:47:10 2011 +0100
+++ b/xen/arch/x86/traps.c      Fri Jun 03 09:42:41 2011 +0100
@@ -817,6 +817,7 @@
         __clear_bit(X86_FEATURE_NODEID_MSR % 32, &c);
         __clear_bit(X86_FEATURE_TOPOEXT % 32, &c);
         break;
+    case 7:
     case 0xd: /* XSAVE */
     case 5: /* MONITOR/MWAIT */
     case 0xa: /* Architectural Performance Monitor Features */

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] x86: Hide CPUID leaf 7 from PV guests., Xen patchbot-4 . 0-testing <=