Re: [Qemu-devel] [PATCH v4] vhost-user interrupt management fixes

2016-02-18 Thread Michael S. Tsirkin
On Thu, Feb 18, 2016 at 12:40:36PM +0200, Victor Kaplansky wrote: > Since guest_mask_notifier can not be used in vhost-user mode due > to buffering implied by unix control socket, force > use_mask_notifier on virtio devices of vhost-user interfaces, and > send correct callfd to the guest at vhost s

Re: [Qemu-devel] [PATCH v4] vhost-user interrupt management fixes

2016-02-18 Thread Michael S. Tsirkin
On Thu, Feb 18, 2016 at 12:40:36PM +0200, Victor Kaplansky wrote: > Since guest_mask_notifier can not be used in vhost-user mode due > to buffering implied by unix control socket, force > use_mask_notifier on virtio devices of vhost-user interfaces, and > send correct callfd to the guest at vhost s

[Qemu-devel] [PATCH v4] vhost-user interrupt management fixes

2016-02-18 Thread Victor Kaplansky
Since guest_mask_notifier can not be used in vhost-user mode due to buffering implied by unix control socket, force use_mask_notifier on virtio devices of vhost-user interfaces, and send correct callfd to the guest at vhost start. Using guest_notifier_mask function in vhost-user case may break int