|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals.
Ian Jackson wrote:
Gerd Hoffmann writes ("Re: [Qemu-devel] [PATCH 01/13] Handle terminating
signals."):
What this would be useful for? The termination signals usualy one-shot
anyway, so I don't see any advantage in doing the pipe-to-self trick.
The point is that then they can interrupt select().
The race I know of is that you may get an aio signal completion before
select but after you've already qemu_aio_poll()'d. In practice, we only
sleep for 10ms at a time in select() so the race is handled by that. If
we wanted to increase the amount of time we slept, we would have to
handle this race.
In KVM, we sleep for 1s in select() and use signalfd() to receive the
aio notifications. For older hosts, we emulate signalfd using a thread
and the pipe-to-self trick.
Regards,
Anthony Liguori
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 00/13] merge some xen bits into qemu, Gerd Hoffmann
- [Xen-devel] [PATCH 01/13] Handle terminating signals., Gerd Hoffmann
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Message not available
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Gerd Hoffmann
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Gerd Hoffmann
- [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals.,
Anthony Liguori <=
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Avi Kivity
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Samuel Thibault
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Message not available
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Anthony Liguori
- Message not available
- Re: [Xen-devel] Re: [Qemu-devel] [PATCH 01/13] Handle terminating signals., Ian Jackson
|
|
|
|
|