qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 5/9] qapi_sized_buffer


From: Stefan Berger
Subject: Re: [Qemu-devel] [PATCH 5/9] qapi_sized_buffer
Date: Wed, 13 Mar 2013 18:00:24 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 03/13/2013 04:52 PM, mdroth wrote:
On Wed, Mar 13, 2013 at 01:56:24PM -0500, Joel Schopp wrote:
Add a sized buffer interface to qapi.
Isn't this just a special case of the visit_*_carray() interfaces? We
should avoid new interfaces if possible, since it adds to feature
disparities between visitor implementations.

Yes, it's a special case and carray seems more general.
However, I don't understand the interface of carray. It has a start_carray with all parameters given, then a next_carray and an end_carray. Why do we need multiple calls if one call (start_carray) could be used to serialize all the data already?

Regards,
    Stefan






reply via email to

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