From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4Z7n-0008Im-FY for qemu-devel@nongnu.org; Fri, 16 Sep 2011 10:10:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4Z7m-0001aU-7t for qemu-devel@nongnu.org; Fri, 16 Sep 2011 10:10:39 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:40277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4Z7m-0001aQ-45 for qemu-devel@nongnu.org; Fri, 16 Sep 2011 10:10:38 -0400 Received: by yxl11 with SMTP id 11so3582762yxl.4 for ; Fri, 16 Sep 2011 07:10:37 -0700 (PDT) Message-ID: <4E7358C2.2090204@codemonkey.ws> Date: Fri, 16 Sep 2011 09:10:10 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1316007520-30808-1-git-send-email-kwolf@redhat.com> In-Reply-To: <1316007520-30808-1-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Fix termination by signal with -no-shutdown List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: qemu-devel@nongnu.org On 09/14/2011 08:38 AM, Kevin Wolf wrote: > On signals such as SIGTERM qemu should exit instead of just stopping the VM > even with -no-shutdown. > > Signed-off-by: Kevin Wolf Applied. Thanks. Regards, Anthony Liguori > --- > vl.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/vl.c b/vl.c > index b773d2f..0c2fc3f 100644 > --- a/vl.c > +++ b/vl.c > @@ -1296,6 +1296,7 @@ void qemu_system_killed(int signal, pid_t pid) > { > shutdown_signal = signal; > shutdown_pid = pid; > + no_shutdown = 0; > qemu_system_shutdown_request(); > } >