qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/3] Extract non-QDicts in qdict_array_split()


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 0/3] Extract non-QDicts in qdict_array_split()
Date: Wed, 26 Feb 2014 11:18:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 02/26/2014 10:16 AM, Max Reitz wrote:
>>   * "x.y" (i.e., the reverse of what qdict_array_split() does).
>>   * This operation is applied recursively for nested QDicts and QLists.
>>   */
>>
>> With your new split rules, do we need a followup patch to qdict_flatten
>> that can regenerate the QDict with "%u" keys for non-dict members of the
>> QList?
> 
> If you want qdict_flatten() to return a QDict with "%u" keys, you'd have
> to specify a QList. However, this would no longer be a qdict_flatten(),
> but rather a qlist_flatten().

Fair enough - nothing further needed at this time.  :)

-- 
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]