]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Assume QEMU_CAPS_DISK_SHARE_RW
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 8 Nov 2022 07:36:08 +0000 (08:36 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 8 Nov 2022 11:10:50 +0000 (12:10 +0100)
commit6c4148f69336330a9716bda240dc3045228b6874
tree90a77e307e6b40dc557e32bd929b55ced9e79691
parentd27fb06ec42017860eced32574398bc27f3a8a7e
qemu: Assume QEMU_CAPS_DISK_SHARE_RW

Introduced in QEMU's commit of v2.9.0-rc0~48^2~25 the .share-rw
attribute of virtio-blk device is always available for all QEMU
versions we support (4.2.0, currently). Therefore, we can assume
the capability is always set and thus doesn't need to be checked
for.

The change in controller-order.args is justified, because the
qemuxml2argvdatatest runs the test case with very minimalistic
set of capabilities, that's nowhere near real life scenario.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/controller-order.args