aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/keyhandler.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-08-04 10:59:22 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-08-04 10:59:22 +0100
commite7c388db06f0e8d040b35a67fa1dc06ab937e939 (patch)
treedfdde5f5f6598f049d476639697f91aa62ba4c86 /xen/common/keyhandler.c
parent269d43f9a2526321ad71c8f5fc44d3bc14e97f2b (diff)
downloadxen-e7c388db06f0e8d040b35a67fa1dc06ab937e939.tar.gz
xen-e7c388db06f0e8d040b35a67fa1dc06ab937e939.tar.bz2
xen-e7c388db06f0e8d040b35a67fa1dc06ab937e939.zip
Delay 5 seconds on reboot *after* stopping all CPUs.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/keyhandler.c')
-rw-r--r--xen/common/keyhandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/keyhandler.c b/xen/common/keyhandler.c
index 93caa8ff80..d478db8ad3 100644
--- a/xen/common/keyhandler.c
+++ b/xen/common/keyhandler.c
@@ -143,7 +143,7 @@ static void dump_dom0_registers(unsigned char key)
static void halt_machine(unsigned char key, struct cpu_user_regs *regs)
{
printk("'%c' pressed -> rebooting machine\n", key);
- machine_restart();
+ machine_restart(0);
}
static void cpuset_print(char *set, int size, cpumask_t mask)