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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1254409983 -3600
# Node ID 1764b0cba2e9dcf1684d5c82975302277ba62064
# Parent  d88559e9813eb35446d76907570c3aa9499fb1ee
x86 hvm: Guests should scan CPUID range 40000000-4000ff00 for Xen leaves.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   20213:7655448090c8
xen-unstable date:        Wed Sep 16 08:55:23 2009 +0100
---
 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 d88559e9813e -r 1764b0cba2e9 tools/firmware/hvmloader/hvmloader.c
--- a/tools/firmware/hvmloader/hvmloader.c      Thu Oct 01 16:12:24 2009 +0100
+++ b/tools/firmware/hvmloader/hvmloader.c      Thu Oct 01 16:13:03 2009 +0100
@@ -113,7 +113,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 d88559e9813e -r 1764b0cba2e9 tools/misc/xen-detect.c
--- a/tools/misc/xen-detect.c   Thu Oct 01 16:12:24 2009 +0100
+++ b/tools/misc/xen-detect.c   Thu Oct 01 16:13:03 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 d88559e9813e -r 1764b0cba2e9 
unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c  Thu Oct 01 
16:12:24 2009 +0100
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c  Thu Oct 01 
16:13:03 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®.