mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
bitkeeper revision 1.1159.174.4 (4199eafc-o43U-MPvkSymdEahhBVLg)
Fix panic() so that it flushes console messages and then kills the VM cleanly (instead of spinning).
This commit is contained in:
1 parent
9f9af87611
commit
9a152b3fe0
1 file changed
+5
@@ -1319,6 +1319,11 @@ void __init setup_arch(char **cmdline_p)
|
||||
|
||||
unsigned long max_low_pfn;
|
||||
|
||||
/* Force a quick death if the kernel panics. */
|
||||
extern int panic_timeout;
|
||||
if ( panic_timeout == 0 )
|
||||
panic_timeout = 1;
|
||||
|
||||
HYPERVISOR_vm_assist(VMASST_CMD_enable,
|
||||
VMASST_TYPE_4gb_segments);
|
||||
|
||||
|
||||