]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: qapi: Simplify value handling in virQEMUQAPISchemaTraverse
authorPeter Krempa <pkrempa@redhat.com>
Wed, 15 Aug 2018 06:32:04 +0000 (08:32 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 24 Aug 2018 13:58:33 +0000 (15:58 +0200)
commitcbcee32350793f19060dea6488e64bc0bf6b402b
treeb9a7280c95b3bd40a3c5782a4159657d56d09c28
parentb04d1b6a35f9fb826f7bb83fdac364a127ec75ca
qemu: qapi: Simplify value handling in virQEMUQAPISchemaTraverse

Introduce a few variables so that we can easily access the modifier
character and also don't have to do pointer arithmetic when selecting
the schema entries. This will simplify adding of new modifier
characters.

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