]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add support for discard_granularity
authorKristina Hanicova <khanicov@redhat.com>
Fri, 25 Aug 2023 12:50:32 +0000 (14:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 25 Aug 2023 13:05:22 +0000 (15:05 +0200)
commit18705b03c68a0637ca9d7a0351903e7dee128951
tree3cd855a94cc3a148040853cc982e3cb7a3daf657
parent96d8ee2cffeb1a2ab12e5ae5a3a933da7c999668
qemu: add support for discard_granularity

This commit adds building of `discard_granularity` disk option
for qemu commandline.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1849570

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/disk-blockio.x86_64-latest.args
tests/qemuxml2argvdata/disk-blockio.xml
tests/qemuxml2xmloutdata/disk-blockio.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c