[libvirt] [PATCH 13/21] qemu: qapi: Use declarative approach for meta-type parsers in virQEMUQAPISchemaTraverse

Ján Tomko jtomko at redhat.com
Mon Apr 29 12:35:30 UTC 2019


On Mon, Apr 15, 2019 at 06:02:06PM +0200, Peter Krempa wrote:
>Introduce an array of callbacks for given 'meta-type' of the QAPI schema
>structure rather than using code to select it. This will simplify
>extension for the other meta-types which are not handled yet.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_qapi.c | 31 +++++++++++++++++++++----------
> 1 file changed, 21 insertions(+), 10 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/20190429/99b346f9/attachment-0001.sig>


More information about the libvir-list mailing list