[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v8 26/35] qapi: Add type.is_empty() helper
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v8 26/35] qapi: Add type.is_empty() helper |
Date: |
Tue, 5 Jan 2016 09:10:50 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
On 01/05/2016 07:04 AM, Marc-André Lureau wrote:
> Hi
>
> On Mon, Dec 21, 2015 at 6:08 PM, Eric Blake <address@hidden> wrote:
>> And use it in qapi-types and qapi-event. Down the road, we may
>> want to lift our artificial restriction of no variants at the
>> top level of an event, at which point, inlining our check for
>> whether members is empty will no longer be sufficient. More
>> immediately, the new .is_empty() helper will help fix a bug in
>> qapi-visit.
>>
>
> which bug? (I guess it's related to the next patch)
Yes, the next patch. I guess I can spell it out better in this commit
message, though.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature