[libvirt] [PATCH 14/21] qemu: qapi: Report schema and user errors for QAPI queries

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


On Mon, Apr 15, 2019 at 06:02:07PM +0200, Peter Krempa wrote:
>We treated broken schema as failure to look up given query. Treat it as
>a separate error instead. It is unlikely to happen though.
>
>Also prepare for possibility of user errors if query components which
>can't be queired deeper have following components.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_qapi.c | 37 +++++++++++++++++++++++++++++--------
> 1 file changed, 29 insertions(+), 8 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/70858bf7/attachment-0001.sig>


More information about the libvir-list mailing list