]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Implement virtio-blk queue-size option
authorHiroki Narukawa <hnarukaw@yahoo-corp.jp>
Thu, 9 Sep 2021 03:34:48 +0000 (12:34 +0900)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Sep 2021 10:22:49 +0000 (12:22 +0200)
commit2d6d67e1544a8a86249a1e958e1829b41bf84cde
tree8e5f226eda15a67a52ff1aea728f723b1b2a052e
parentad209e7dbc7fae07a82885a0cd1895b8b2227535
qemu: Implement virtio-blk queue-size option

The option "queue-size" in virtio-blk was added in qemu-2.12.0, and
default value increased from qemu-5.0.0.

However, increasing this value may lead to drop of random access
performance.

Signed-off-by: Hiroki Narukawa <hnarukaw@yahoo-corp.jp>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_validate.c
tests/qemuxml2argvdata/disk-virtio-queues.x86_64-latest.args
tests/qemuxml2argvdata/disk-virtio-queues.xml