]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: qemu: Allow nested objects in JSON -> commandline generator
authorPeter Krempa <pkrempa@redhat.com>
Fri, 22 Jul 2016 15:19:28 +0000 (17:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 27 Jul 2016 07:39:58 +0000 (09:39 +0200)
commitcd86d6f4656d01894141840531d61595e40e4682
tree466c87ad0f763c356e5f2bc35e0e68cbe5cae08b
parent25a272ada48302ea0d7333b4f2e3556a713230a5
util: qemu: Allow nested objects in JSON -> commandline generator

Move the iterator of objects to the recursive function so that nested
objects are supported by flattening the structure with '.' delimiters.
src/util/virqemu.c
tests/qemucommandutiltest.c