Date: Thu, 5 Feb 2009 21:35:40 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188199 - head/sys/i386/i386 Message-ID: <200902052135.n15LZeCR039770@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902052135.n15LZeCR039770>