From owner-svn-src-head@FreeBSD.ORG Thu Feb 5 21:35:40 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CF75106568A; Thu, 5 Feb 2009 21:35:40 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6BE9B8FC08; Thu, 5 Feb 2009 21:35:40 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n15LZeFm039771; Thu, 5 Feb 2009 21:35:40 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n15LZeCR039770; Thu, 5 Feb 2009 21:35:40 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200902052135.n15LZeCR039770@svn.freebsd.org> From: Kip Macy Date: Thu, 5 Feb 2009 21:35:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r188199 - head/sys/i386/i386 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2009 21:35:41 -0000 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)