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

[Xen-changelog] [xen-unstable] x86 hvm: Guests should scan CPUID range 40000000-4000ff00 for Xen leaves.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1253087723 -3600
# Node ID 7655448090c870ac74ddf855e3e28eeaf56eab6e
# Parent  58ef1439ca982cdd2f7e4698ce9bdba1f4b38853
x86 hvm: Guests should scan CPUID range 40000000-4000ff00 for Xen leaves.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/firmware/hvmloader/hvmloader.c                     |    2 +-
 tools/misc/xen-detect.c                                  |    2 +-
 unmodified_drivers/linux-2.6/platform-pci/platform-pci.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff -r 58ef1439ca98 -r 7655448090c8 tools/firmware/hvmloader/hvmloader.c
--- a/tools/firmware/hvmloader/hvmloader.c      Tue Sep 15 10:08:12 2009 +0100
+++ b/tools/firmware/hvmloader/hvmloader.c      Wed Sep 16 08:55:23 2009 +0100
@@ -123,7 +123,7 @@ static void init_hypercalls(void)
     xen_extraversion_t extraversion;
     uint32_t base;
 
-    for ( base = 0x40000000; base < 0x40001000; base += 0x100 )
+    for ( base = 0x40000000; base < 0x40010000; base += 0x100 )
     {
         cpuid(base, &eax, &ebx, &ecx, &edx);
 
diff -r 58ef1439ca98 -r 7655448090c8 tools/misc/xen-detect.c
--- a/tools/misc/xen-detect.c   Tue Sep 15 10:08:12 2009 +0100
+++ b/tools/misc/xen-detect.c   Wed Sep 16 08:55:23 2009 +0100
@@ -52,7 +52,7 @@ static int check_for_xen(void)
     char signature[13];
     uint32_t base;
 
-    for ( base = 0x40000000; base < 0x40001000; base += 0x100 )
+    for ( base = 0x40000000; base < 0x40010000; base += 0x100 )
     {
         cpuid(base, &eax, &ebx, &ecx, &edx);
 
diff -r 58ef1439ca98 -r 7655448090c8 
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c  Tue Sep 15 
10:08:12 2009 +0100
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c  Wed Sep 16 
08:55:23 2009 +0100
@@ -116,7 +116,7 @@ static uint32_t xen_cpuid_base(void)
        uint32_t base, eax, ebx, ecx, edx;
        char signature[13];
 
-       for (base = 0x40000000; base < 0x40001000; base += 0x100) {
+       for (base = 0x40000000; base < 0x40010000; base += 0x100) {
                cpuid(base, &eax, &ebx, &ecx, &edx);
                *(uint32_t*)(signature + 0) = ebx;
                *(uint32_t*)(signature + 4) = ecx;

_______________________________________________
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®.