]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: qapi: Allow selecting specifically optional schema entries in virQEMUQAPISchema...
authorPeter Krempa <pkrempa@redhat.com>
Wed, 15 Aug 2018 06:51:01 +0000 (08:51 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 24 Aug 2018 13:58:33 +0000 (15:58 +0200)
commit139ee1f1925d5546872f28ceb2e5d2805624d202
tree08b8dafca6989da780c0c1b9283ca00183bd5f3f
parentc59734e3f6c4373684ff8da71f5a46f96a02b55e
qemu: qapi: Allow selecting specifically optional schema entries in virQEMUQAPISchemaTraverse

Add a new modifier character '*' which will select given schema entry
only when it is optional (denoted by the presence of the 'default' key).

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_qapi.c