qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/4] qjson: store tokens in a GQueue


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 3/4] qjson: store tokens in a GQueue
Date: Fri, 20 Nov 2015 11:40:22 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/20/2015 02:04 AM, Paolo Bonzini wrote:
> Even though we still have the "streamer" concept, the tokens can now
> be deleted as they are read.  While doing so convert from QList to
> GQueue, since the next step will make tokens not a QObject and we
> will have to do the conversion anyway.
> 
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  include/qapi/qmp/json-parser.h   |  4 +--
>  include/qapi/qmp/json-streamer.h |  8 ++---
>  monitor.c                        |  2 +-
>  qga/main.c                       |  2 +-
>  qobject/json-parser.c            | 65 
> +++++++++++++---------------------------
>  qobject/json-streamer.c          | 25 +++++++++-------
>  qobject/qjson.c                  |  2 +-
>  tests/libqtest.c                 |  2 +-
>  8 files changed, 45 insertions(+), 65 deletions(-)
> 

Reviewed-by: Eric Blake <address@hidden>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]