diff options
author | Changpeng Liu <changpeng.liu@intel.com> | 2018-02-06 09:35:34 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2018-02-08 21:06:41 +0200 |
commit | 0ebf9a748881fa85491501f0fa3ca5aec79b7afc (patch) | |
tree | a07a0a912ce5a265aad3cf8c5c9384b597c41e8f /hw/block/nvme.c | |
parent | 9d6b9db19c4b99ce5a1ad75b490c01edd2c2b0cf (diff) |
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 'hw/block/nvme.c')
0 files changed, 0 insertions, 0 deletions