WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>