]> xenbits.xensource.com Git - libvirt.git/commit
qemuBlockGetBackingStoreString: Add 'pretty' argument
authorPeter Krempa <pkrempa@redhat.com>
Mon, 23 Mar 2020 10:48:10 +0000 (11:48 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 24 Mar 2020 13:17:47 +0000 (14:17 +0100)
commita83c1dc70e724b9313436c63f57ea24023fd7076
treeadbb9154e24b02646eaf32a27c0b90213ad79921
parentfed97cb435092d9de6f3c862ef297e722f0c0263
qemuBlockGetBackingStoreString: Add 'pretty' argument

Add support for pretty-printing of the JSON variant of the output for
consumption in tests. All current callers pass 'false'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_block.c
src/qemu/qemu_block.h
src/qemu/qemu_driver.c