qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals.


From: Ian Jackson
Subject: Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals.
Date: Tue, 26 Aug 2008 11:44:31 +0100

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]