virtio-blk: add num-queues device property
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 21 Jun 2016 12:13:16 +0000 (13:13 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 28 Jun 2016 12:08:32 +0000 (13:08 +0100)
commit2f2705908fc4b7be868d45b7b02159fb243a8457
tree3fc5e8f294acd976de3a7713c3da2bf935e97a39
parent51b04ac5c6a63cc8cd477c15a7e0998e0af24bcc
virtio-blk: add num-queues device property

Multiqueue virtio-blk can be enabled as follows:

  qemu -device virtio-blk-pci,num-queues=8

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 1466511196-12612-8-git-send-email-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/block/virtio-blk.c
include/hw/virtio/virtio-blk.h