]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Assume QEMU_CAPS_BLOCKIO
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 8 Nov 2022 07:08:16 +0000 (08:08 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 8 Nov 2022 11:10:50 +0000 (12:10 +0100)
commit718721f0f9d33aa8abafd71bfb9ac1cfef95dc3e
tree4ae9f3e670388f0c77e6f242631888402dbc2672
parentc40ea3eaed660484095fe648d012176e14ab5ff6
qemu: Assume QEMU_CAPS_BLOCKIO

Introduced in QEMU's commit of v0.13.0-rc0~1072 the
.logical_block_size 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.

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