[libvirt] [PATCH 06/21] qemu: qapi: Modify values returned by virQEMUQAPISchemaPathGet

Ján Tomko jtomko at redhat.com
Thu Apr 25 12:58:46 UTC 2019


On Mon, Apr 15, 2019 at 06:01:59PM +0200, Peter Krempa wrote:
>Return 1 if the schema entry was found optionally returning it rather
>than depending on the returned object.
>
>Some callers don't care which schema object belongs to the query, but
>rather only want to know whether it exists. Additionally this will allow
>introducing boolean queries for checking if enum values exist.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_qapi.c        | 26 ++++++++++----------------
> tests/qemumonitorjsontest.c | 12 ++++++------
> 2 files changed, 16 insertions(+), 22 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/20190425/92b1be3a/attachment-0001.sig>


More information about the libvir-list mailing list