qemu-devel
[Top][All Lists]
Advanced

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

Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signal


From: Ian Jackson
Subject: Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals.
Date: Tue, 26 Aug 2008 16:08:19 +0100

Anthony Liguori writes ("Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle 
terminating signals."):
> It's a little less perfect.  Your signal handler can write() to the pipe 
> but what happens if you get EAGAIN?

Then the pipe already has something in it which is fine.  The purpose
of writing to it is to make sure that it is not empty.  We don't count
the bytes.

> Below is our implementation.  I'll queue up to push this change into 
> QEMU after I finish with the migration patches.

Please consider my patch instead, which doesn't depend on threads and
is a lot smaller.

Ian.




reply via email to

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