[libvirt] [PATCH 04/11] qemu: block: Extract formating of 'driver' attribute from child formatters

Ján Tomko jtomko at redhat.com
Mon Jul 8 11:45:17 UTC 2019


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 at redhat.com>
>---
> src/qemu/qemu_block.c | 42 +++++++++++++++++++++---------------------
> 1 file changed, 21 insertions(+), 21 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190708/3e21d3cb/attachment-0001.sig>


More information about the libvir-list mailing list