Re: [Qemu-devel] [untested PATCH] virtio: fix vhost handling

2012-08-06 Thread Paolo Bonzini
Il 06/08/2012 14:48, Stefan Hajnoczi ha scritto: >> > Interesting, I tested vhost (or thought so). Can you try this >> > patch instead? > Does this really make the code better than just reverting the patch? The main problem here is that the current code has calls to event_notifier

Re: [Qemu-devel] [untested PATCH] virtio: fix vhost handling

2012-08-06 Thread Stefan Hajnoczi
On Fri, Aug 3, 2012 at 5:16 PM, Paolo Bonzini wrote: > Commit b1f416aa8d870fab71030abc9401cfc77b948e8e breaks vhost_net > because it always registers the virtio_pci_host_notifier_read() handler > function on the ioeventfd, even when vhost_net.ko is using the ioeventfd. > The result is both QEMU an

[Qemu-devel] [untested PATCH] virtio: fix vhost handling

2012-08-03 Thread Paolo Bonzini
Commit b1f416aa8d870fab71030abc9401cfc77b948e8e breaks vhost_net because it always registers the virtio_pci_host_notifier_read() handler function on the ioeventfd, even when vhost_net.ko is using the ioeventfd. The result is both QEMU and vhost_net.ko polling on the same eventfd and the virtio_net.