]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: block: Unify conditions to format backing store of format node definition
authorPeter Krempa <pkrempa@redhat.com>
Tue, 3 Sep 2019 11:16:39 +0000 (13:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 6 Sep 2019 06:12:21 +0000 (08:12 +0200)
commitd6f11160912141e6559bd86e065ee0c6822d65cf
treec7267b4e9f8b50bddfa269c4b7c2230cc58f9aec
parent510d154a0b41aa70aadabc0918d16dee22882394
qemu: block: Unify conditions to format backing store of format node definition

Move all bits of the formatting of the 'backing' attribute to a single
condition and make it use a single extracted copy of the backing store.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_block.c