reboot instance on reset

This commit is contained in:
Kip Macy 2009-02-05 21:35:40 +00:00
parent 532700bd00
commit 3655b5e696

View File

@ -616,7 +616,10 @@ cpu_reset_real()
disable_intr();
#ifdef XEN
HYPERVISOR_shutdown(SHUTDOWN_poweroff);
if (smp_processor_id() == 0)
HYPERVISOR_shutdown(SHUTDOWN_reboot);
else
HYPERVISOR_shutdown(SHUTDOWN_reboot);
#endif
#ifdef CPU_ELAN
if (elan_mmcr != NULL)