Re: [Qemu-devel] [PATCH 1/8] virtio: don't waste irqfds on control vqs

2013-01-03 Thread Stefan Hajnoczi
On Wed, Dec 26, 2012 at 12:52:19PM +0200, Michael S. Tsirkin wrote: > Pass nvqs to set_guest_notifiers. This makes it possible to > save on irqfds by not allocating one for the control vq > for virtio-net. > > Signed-off-by: Michael S. Tsirkin > --- > hw/vhost.c | 10 +++--- > hw/virtio

[Qemu-devel] [PATCH 1/8] virtio: don't waste irqfds on control vqs

2012-12-26 Thread Michael S. Tsirkin
Pass nvqs to set_guest_notifiers. This makes it possible to save on irqfds by not allocating one for the control vq for virtio-net. Signed-off-by: Michael S. Tsirkin --- hw/vhost.c | 10 +++--- hw/virtio-pci.c | 19 ++- hw/virtio-pci.h | 1 + hw/virtio.h | 2 +- 4