]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: block: Add support for creating 'format' layer for blockdev-add
authorPeter Krempa <pkrempa@redhat.com>
Mon, 23 Oct 2017 10:26:10 +0000 (12:26 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 7 May 2018 13:38:03 +0000 (15:38 +0200)
commite17193acd2aa3701e208e0ad499f460229fa55d7
tree056101fc51cdf5771c2f38661ae68f243d2e2131
parent0e6b60dcac50cc5254c2c54683f89ba50e67ffcd
qemu: block: Add support for creating 'format' layer for blockdev-add

When using blockdev-add and friends, libvirt will need to create also
properties for the qcow2/raw/... format handler in qemu. This patch adds
the infrastructure and implements all formats known to libvirt including
all properties which are expressed at the format level in qemu.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_block.c
src/qemu/qemu_block.h