
8 Jul
2019
8 Jul
'19
1:45 p.m.
s/formating/fomatting/ On Thu, Jul 04, 2019 at 04:26:28PM +0200, Peter Krempa wrote:
To allow reusing the formatters in the code for creating JSON properties for 'blockdev-create' we need to create everyhing except the 'driver'
everything
attribute.
Use the new helper virJSONValueObjectPrependString to put the driver at the same place so that we don't change any output.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- src/qemu/qemu_block.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano