/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1050-2.6.25-xen-Disable-discover_ebda-under-paravirt.patch |
Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1050-2.6.25-xen-Disable-discover_ebda-under-paravirt.patch
Parent Directory | Revision Log
Revision 606 -
(show annotations)
(download)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 858 byte(s)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 858 byte(s)
-ver bump to 2.6.25-magellan-r1: - linux-2.6.25.4 - fbcondecor-0.9.4 - squashfs-3.3 - unionfs-2.3.3 - tuxonice-3.0-rc7 - linux-phc-0.3.0 - acpi-dstd-0.9a - reiser4 - xen-3.2.0 . ipw3945-1.2.2
1 | From 9f404979839e554937bb00a0536d16ce94e5bb1f Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Wed, 5 Dec 2007 16:58:09 -0200 |
4 | Subject: [PATCH] Disable discover_ebda() under paravirt |
5 | |
6 | Temporary solution. Should be discussed. |
7 | |
8 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
9 | --- |
10 | arch/x86/kernel/head64.c | 4 ++++ |
11 | 1 files changed, 4 insertions(+), 0 deletions(-) |
12 | |
13 | diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c |
14 | index ad24408..df8e1fc 100644 |
15 | --- a/arch/x86/kernel/head64.c |
16 | +++ b/arch/x86/kernel/head64.c |
17 | @@ -55,6 +55,10 @@ static __init void reserve_ebda(void) |
18 | { |
19 | unsigned ebda_addr, ebda_size; |
20 | |
21 | + if (paravirt_enabled()) |
22 | + /* We don't have access to this physical address under Xen */ |
23 | + return; |
24 | + |
25 | /* |
26 | * there is a real-mode segmented pointer pointing to the |
27 | * 4K EBDA area at 0x40E |
28 | -- |
29 | 1.5.4.1 |
30 |