Re: [Qemu-devel] [RFC PATCH 07/11] qapi: Add consume argument to qmp_input_get_object()

2013-07-11 Thread Eric Blake
On 07/09/2013 03:53 AM, Kevin Wolf wrote: This allows to just look at the next element without actually consuming it. Signed-off-by: Kevin Wolf kw...@redhat.com --- qapi/qmp-input-visitor.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) Reviewed-by: Eric Blake

[Qemu-devel] [RFC PATCH 07/11] qapi: Add consume argument to qmp_input_get_object()

2013-07-09 Thread Kevin Wolf
This allows to just look at the next element without actually consuming it. Signed-off-by: Kevin Wolf kw...@redhat.com --- qapi/qmp-input-visitor.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/qapi/qmp-input-visitor.c b/qapi/qmp-input-visitor.c index