svn commit: r188199 - head/sys/i386/i386
Kip Macy
kmacy at FreeBSD.org
Thu Feb 5 13:35:41 PST 2009
Author: kmacy
Date: Thu Feb 5 21:35:40 2009
New Revision: 188199
URL: http://svn.freebsd.org/changeset/base/188199
Log:
reboot instance on reset
Modified:
head/sys/i386/i386/vm_machdep.c
Modified: head/sys/i386/i386/vm_machdep.c
==============================================================================
--- head/sys/i386/i386/vm_machdep.c Thu Feb 5 21:18:39 2009 (r188198)
+++ head/sys/i386/i386/vm_machdep.c Thu Feb 5 21:35:40 2009 (r188199)
@@ -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)
More information about the svn-src-all
mailing list