Re: [Qemu-devel] [PATCH 2/2] virtio: disable notifications again after poll succeeded

2017-01-13 Thread Michael S. Tsirkin
On Thu, Jan 12, 2017 at 11:46:11AM +, Stefan Hajnoczi wrote: > While AioContext is in polling mode virtqueue notifications are not > necessary. Some device virtqueue handlers enable notifications. Make > sure they stay disabled to avoid unnecessary vmexits. > > Signed-off-by: Stefan Hajnoczi

[Qemu-devel] [PATCH 2/2] virtio: disable notifications again after poll succeeded

2017-01-12 Thread Stefan Hajnoczi
While AioContext is in polling mode virtqueue notifications are not necessary. Some device virtqueue handlers enable notifications. Make sure they stay disabled to avoid unnecessary vmexits. Signed-off-by: Stefan Hajnoczi --- hw/virtio/virtio.c | 3 +++ 1 file changed, 3 insertions(+) diff --