From 91cb4623df8f88695cdfcaaf6f90a2a93a1a62a9 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 16 Sep 2009 08:55:23 +0100 Subject: x86 hvm: Guests should scan CPUID range 40000000-4000ff00 for Xen leaves. Signed-off-by: Keir Fraser --- unmodified_drivers/linux-2.6/platform-pci/platform-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unmodified_drivers') diff --git a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c index f081cb1115..87dac049c0 100644 --- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c +++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c @@ -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; -- cgit v1.2.3