mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
51b04ac5c6
commit
2f2705908f
2 changed files with 13 additions and 3 deletions
|
@ -47,7 +47,6 @@ struct VirtIOBlockReq;
|
|||
typedef struct VirtIOBlock {
|
||||
VirtIODevice parent_obj;
|
||||
BlockBackend *blk;
|
||||
VirtQueue *vq;
|
||||
void *rq;
|
||||
QEMUBH *bh;
|
||||
VirtIOBlkConf conf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue