summary refs log tree commit diff stats
path: root/include/hw/pci/pci.h
diff options
context:
space:
mode:
authorChangpeng Liu <changpeng.liu@intel.com>2018-02-06 09:35:34 +0800
committerMichael S. Tsirkin <mst@redhat.com>2018-02-08 21:06:41 +0200
commit0ebf9a748881fa85491501f0fa3ca5aec79b7afc (patch)
treea07a0a912ce5a265aad3cf8c5c9384b597c41e8f /include/hw/pci/pci.h
parent9d6b9db19c4b99ce5a1ad75b490c01edd2c2b0cf (diff)
downloadfocaccia-qemu-0ebf9a748881fa85491501f0fa3ca5aec79b7afc.tar.gz
focaccia-qemu-0ebf9a748881fa85491501f0fa3ca5aec79b7afc.zip
virtio-blk: enable multiple vectors when using multiple I/O queues
Currently virtio-pci driver hardcoded 2 vectors for virtio-blk device,
for multiple I/O queues scenario, all the I/O queues will share one
interrupt vector, while here, enable multiple vectors according to
the number of I/O queues.

Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/pci/pci.h')
0 files changed, 0 insertions, 0 deletions