[Top][All Lists]

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

Re: [Qemu-block] [Qemu-devel] [PATCH for-2.6 12/14] qemu-img: In 'map',

From: Paolo Bonzini
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH for-2.6 12/14] qemu-img: In 'map', use QDict to generate JSON output
Date: Tue, 24 Nov 2015 14:35:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 24/11/2015 14:30, Fam Zheng wrote:
> Or you mean we don't have to serialize the list in one go, instead we can
> serialize one MapEntry a time with QAPI like what we do now?

Yes, serializing the whole list in one go needs a visitor that can do
streaming.  We can write the array manually, and use QAPI to write each
dictionary inside the array.


reply via email to

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