Re: [Qemu-devel] [PATCH] ioeventfd: minor fixups

2011-01-04 Thread Michael S. Tsirkin
On Tue, Jan 04, 2011 at 04:57:43PM +, Stefan Hajnoczi wrote: > On Wed, Dec 29, 2010 at 2:52 PM, Michael S. Tsirkin wrote: > > I'll probably split this patch in two, and merge into the > > appropriate patches in the ioeventfd series. > > > > Compile-tested only so far, would appreciate feedback

Re: [Qemu-devel] [PATCH] ioeventfd: minor fixups

2011-01-04 Thread Stefan Hajnoczi
On Wed, Dec 29, 2010 at 2:52 PM, Michael S. Tsirkin wrote: > I'll probably split this patch in two, and merge into the > appropriate patches in the ioeventfd series. > > Compile-tested only so far, would appreciate feedback/test reports. virtio-ioeventfd works as expected. > diff --git a/hw/vhos

[Qemu-devel] [PATCH] ioeventfd: minor fixups

2010-12-29 Thread Michael S. Tsirkin
This is on top of the ioeventfd patches, and fixes two potential issues when ioeventfd is mixed with vhost-net: - ioeventfd could start running then get stopped for vhost-net. For example, vm state change handlers run in no particular order. This would be hard to debug. Prevent this by always r