From: Ian Jackson Subject: Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals. Date: Tue, 26 Aug 2008 11:44:31 +0100 Message-ID: <18611.56975.584280.471257@mariner.uk.xensource.com> 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=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 Anthony Liguori writes ("Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals."): > 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. > > Applied. Thanks. This seems sensible to me. I have a patch in our tree which changes the signal delivery mechanism for aio completion to use the well known pipe-to-self trick. I had to do this because there were some circumstances where IO completion signals were being lost due to races. I was planning to send this upstream. Should I enhance my change to do the same to the termination signals too ? Ian.