From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGUCG-0002vZ-Sc for qemu-devel@nongnu.org; Tue, 05 Jan 2016 11:10:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGUCB-0005FT-V4 for qemu-devel@nongnu.org; Tue, 05 Jan 2016 11:10:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGUCB-0005FH-Q4 for qemu-devel@nongnu.org; Tue, 05 Jan 2016 11:10:51 -0500 References: <1450717720-9627-1-git-send-email-eblake@redhat.com> <1450717720-9627-27-git-send-email-eblake@redhat.com> From: Eric Blake Message-ID: <568BEB0A.9030504@redhat.com> Date: Tue, 5 Jan 2016 09:10:50 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1UIoVkxekeiHd1hGG4Wj1gKELcXMbs2xI" Subject: Re: [Qemu-devel] [PATCH v8 26/35] qapi: Add type.is_empty() helper List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= Cc: Michael Roth , QEMU , Markus Armbruster This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --1UIoVkxekeiHd1hGG4Wj1gKELcXMbs2xI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/05/2016 07:04 AM, Marc-Andr=C3=A9 Lureau wrote: > Hi >=20 > On Mon, Dec 21, 2015 at 6:08 PM, Eric Blake 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. >> >=20 > 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. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --1UIoVkxekeiHd1hGG4Wj1gKELcXMbs2xI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWi+sKAAoJEKeha0olJ0NqxGYIAIT4AQcHAOUL0M6ZIi2BloNa /pifT8HO8C/epGf9Yd9TInm8vXGLb8HN/mR5RKT77JoJ5hgO7CvdBcQ3KGQrUxKL xB8mKrcxq+ApTcMui2sl8QvUR5WuYMIMjl0paslZgHoUaY84XJ3K7BKkYzXtlWOd S3wBLTpFTnlVQtplQoAGdPc5Hk0nJEO9j3cjzZRz+pCiegI+Jp//6Z13I9wlPpjL gnptasoIy8GyWnU9dgWg1OyditO+VfBwV4IzpBrLI5jLCcMOefJVCOGQ0X98Urtq ArJqQCuK3Wlv3hcTwVhxNB9K4lLSqeOqwXuwIawMSgfrYuXgNovtIIXCFNmyDI4= =0l8A -----END PGP SIGNATURE----- --1UIoVkxekeiHd1hGG4Wj1gKELcXMbs2xI--