|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.1-testing] Avoid passing uninitialised ACPI table
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1192869391 -3600
# Node ID 5714079b8202e8622671e381c089a7810cb81b09
# Parent cbf1b365273625ffa883027a652b90ce83e971ba
Avoid passing uninitialised ACPI tables to dom0 when checksums fail.
If during boot, ACPI checksum failures disable ACPI support in Xen,
pass 'acpi=off' to the domain 0 kernel to avoid a fatal page fault
as domain 0 attempts to access the uninitialized ACPI tables.
Signed-off-by: David Lively <dlively@xxxxxxxxxxxxxxx>
Signed-off-by: Steve Ofsthun <sofsthun@xxxxxxxxxxxxxxx>
xen-unstable changeset: 16144:975811798ffe
xen-unstable date: Fri Oct 19 17:47:12 2007 +0100
---
xen/arch/x86/setup.c | 5 +++++
1 files changed, 5 insertions(+)
diff -r cbf1b3652736 -r 5714079b8202 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c Sat Oct 20 09:36:07 2007 +0100
+++ b/xen/arch/x86/setup.c Sat Oct 20 09:36:31 2007 +0100
@@ -1062,6 +1062,11 @@ void __init __start_xen(unsigned long mb
if ( acpi_skip_timer_override &&
!strstr(dom0_cmdline, "acpi_skip_timer_override") )
safe_strcat(dom0_cmdline, " acpi_skip_timer_override");
+ if ( (strlen(acpi_param) == 0) && acpi_disabled )
+ {
+ printk("ACPI is disabled, notifying Domain 0 (acpi=off)\n");
+ safe_strcpy(acpi_param, "off");
+ }
if ( (strlen(acpi_param) != 0) && !strstr(dom0_cmdline, "acpi=") )
{
safe_strcat(dom0_cmdline, " acpi=");
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-3.1-testing] Avoid passing uninitialised ACPI tables to dom0 when checksums fail.,
Xen patchbot-3.1-testing <=
|
|
|
|
|