[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Same panic() behaviour as native Linux when running as domain 0.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 9239f190736d85933bbe64eca0613c24c07617df # Parent a4acdf920c2778222fbbfd02e8b7c350c7374d7d Same panic() behaviour as native Linux when running as domain 0. That is, no reboot: just sit there and flash the keyboard LEDs. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> diff -r a4acdf920c27 -r 9239f190736d linux-2.6-xen-sparse/arch/i386/kernel/setup-xen.c --- a/linux-2.6-xen-sparse/arch/i386/kernel/setup-xen.c Wed Mar 29 23:07:23 2006 +++ b/linux-2.6-xen-sparse/arch/i386/kernel/setup-xen.c Wed Mar 29 23:11:53 2006 @@ -1633,9 +1633,9 @@ physdev_op_t op; unsigned long max_low_pfn; - /* Force a quick death if the kernel panics. */ + /* Force a quick death if the kernel panics (not domain 0). */ extern int panic_timeout; - if (panic_timeout == 0) + if (!panic_timeout && !(xen_start_info->flags & SIF_INITDOMAIN)) panic_timeout = 1; /* Register a call for panic conditions. */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |