]> git.proxmox.com Git - qemu.git/commit
virtio: don't waste irqfds on control vqs
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 20 Dec 2012 12:28:58 +0000 (14:28 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Jan 2013 17:42:22 +0000 (19:42 +0200)
commit2d620f593d9395abd9aa453f8ae0861a51d674d8
treed3cab64b07a957ce4334b1a3ad5f1ba1a08c95d4
parent8e4a424b305e29dc0e454f52df3b35577f342975
virtio: don't waste irqfds on control vqs

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 <mst@redhat.com>
hw/vhost.c
hw/virtio-pci.c
hw/virtio-pci.h
hw/virtio.h