]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Support multiqueue virtio-blk
authorLin Ma <lma@suse.com>
Sat, 30 Sep 2017 17:15:36 +0000 (01:15 +0800)
committerJán Tomko <jtomko@redhat.com>
Wed, 4 Oct 2017 15:50:53 +0000 (17:50 +0200)
commitabca72faa49e46ae17679415132cc9c17b675352
treef2e3f595ed5ea29a12dd257fb17503b371cf13f8
parentc7bdeed5593580b4703691624fd9ef27409f8c9b
qemu: Support multiqueue virtio-blk

qemu 2.7.0 introduces multiqueue virtio-blk(commit 2f27059).
This patch introduces a new attribute "queues". An example of
the XML:

<disk type='file' device='disk'>
  <driver name='qemu' type='qcow2' queues='4'/>

The corresponding QEMU command line:

-device virtio-blk-pci,scsi=off,num-queues=4,id=virtio-disk0

Signed-off-by: Lin Ma <lma@suse.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_command.c
src/qemu/qemu_domain.h
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-drive-queues.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-drive-queues.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-disk-virtio-drive-queues.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c