[libvirt] [PATCH 3/5] Use helper functions to format the journal iov array

Eric Blake eblake at redhat.com
Thu Nov 15 03:20:44 UTC 2012


On 11/14/2012 08:30 AM, Daniel P. Berrange wrote:
> On Wed, Oct 17, 2012 at 08:17:16PM +0200, Miloslav Trmač wrote:
>> This simplifies the top-level code, at the cost of using a little more
>> stack space.  The primary benefit is being able to send more fields
>> without knowing in advance how many of them, and of which types, these
>> fields will be, and without having to individually add buffer variables.
>>
>> The code imposes an upper limit on the total number of iovs/buffers
>> used, and fields that wouldn't fit are silently dropped.  This is not
>> significant in this patch, but will affect the following one.
>>

> ACK
> 

I've applied 1-3; 4 is waiting for a resend, and 5 is too controversial
at the moment.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121114/4fb17614/attachment-0001.sig>


More information about the libvir-list mailing list