Re: [Qemu-devel] [PATCH] virtio/vhost: drop unnecessary VHOST_SET_VRING call

2015-08-12 Thread Michael S. Tsirkin
On Wed, Aug 12, 2015 at 02:10:56PM +0300, Marcel Apfelbaum wrote: > On 08/12/2015 01:34 PM, Michael S. Tsirkin wrote: > >On Wed, Aug 12, 2015 at 01:19:51PM +0300, Marcel Apfelbaum wrote: > >>No need to send VHOST_SET_VRING_CALL to backend > >>before the negotiation with the guest is finished. > >>

Re: [Qemu-devel] [PATCH] virtio/vhost: drop unnecessary VHOST_SET_VRING call

2015-08-12 Thread Marcel Apfelbaum
On 08/12/2015 01:34 PM, Michael S. Tsirkin wrote: On Wed, Aug 12, 2015 at 01:19:51PM +0300, Marcel Apfelbaum wrote: No need to send VHOST_SET_VRING_CALL to backend before the negotiation with the guest is finished. Signed-off-by: Marcel Apfelbaum Well - we do need to set it to the masked not

Re: [Qemu-devel] [PATCH] virtio/vhost: drop unnecessary VHOST_SET_VRING call

2015-08-12 Thread Michael S. Tsirkin
On Wed, Aug 12, 2015 at 01:19:51PM +0300, Marcel Apfelbaum wrote: > No need to send VHOST_SET_VRING_CALL to backend > before the negotiation with the guest is finished. > > Signed-off-by: Marcel Apfelbaum Well - we do need to set it to the masked notifier initially to avoid losing events. You c