From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals. Date: Thu, 21 Aug 2008 15:11:51 -0500 Message-ID: <48ADCC07.3080602@codemonkey.ws> References: <1219336054-15919-1-git-send-email-kraxel@redhat.com> <1219336054-15919-2-git-send-email-kraxel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1219336054-15919-2-git-send-email-kraxel@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: qemu-devel@nongnu.org Cc: xen-devel@lists.xensource.com, Gerd Hoffmann List-Id: xen-devel@lists.xenproject.org Gerd Hoffmann wrote: > This patch makes qemu handle signals better. It sets the request_shutdown > flag, making the main_loop exit and qemu taking the usual exit route, with > atexit handlers being called and so on, instead of qemu just being killed > by the signal. > > To avoid calling vm_start() from the signal handler main_loop() got an > additional check so qemu_system_shutdown_request() works even when the > vm is in stopped state. > > Signed-off-by: Gerd Hoffmann Applied. Thanks. Regards, Anthony Liguori