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

[Xen-changelog] [xen-4.0-testing] x86: Hide CPUID leaf 7 from PV guests.



# 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


 


Rackspace

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