From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpGOh-0005hv-Aa for qemu-devel@nongnu.org; Thu, 22 Oct 2015 09:59:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpGOe-0007AH-2x for qemu-devel@nongnu.org; Thu, 22 Oct 2015 09:59:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpGOd-0007AB-TJ for qemu-devel@nongnu.org; Thu, 22 Oct 2015 09:59:12 -0400 References: <1444648509-29179-1-git-send-email-berrange@redhat.com> <1444648509-29179-4-git-send-email-berrange@redhat.com> <1445449978.7681.367.camel@ifi.uio.no> <20151022094330.GD9079@redhat.com> <878u6v6r4d.fsf@blackfin.pond.sub.org> From: Eric Blake Message-ID: <5628EBAE.8050403@redhat.com> Date: Thu, 22 Oct 2015 07:59:10 -0600 MIME-Version: 1.0 In-Reply-To: <878u6v6r4d.fsf@blackfin.pond.sub.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="g4t8rwDaJFGPdEq0X69ONB5hhdqDXHgwQ" Subject: Re: [Qemu-devel] [PATCH v2 03/16] sockets: allow port to be NULL when listening on IP address List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster , Peter Maydell Cc: QEMU Developers , Paolo Bonzini , Knut Omang , "Dr. David Alan Gilbert" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --g4t8rwDaJFGPdEq0X69ONB5hhdqDXHgwQ Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/22/2015 06:10 AM, Markus Armbruster wrote: >=20 > I believe we have these has_FOOs not because someone tried to minimize > confusion, but due to laziness: it was simpler to blindly generate the > has_FOO for every FOO. >=20 > Since I don't think distinguishing "pointer argument omitted" from > "pointer argument is null" makes sense, I want the has_FOO killed for > pointer FOOs. Perhaps it's even in the QAPI review queue already, whic= h > Eric keeps filling faster than I can drain it :) It's not there yet (so it's missed 2.5), but it IS on my plate for 2.6, to add a per-struct attribute on whether the struct prefers has_FOO vs FOO=3D=3DNULL for marking optional strings/objects (has_FOO will remain mandatory for optional numbers). Per-struct attribute, because there are too many structs to change in one patch, although if I scrub the entire tree, we may remove the attribute at the end of the conversion. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --g4t8rwDaJFGPdEq0X69ONB5hhdqDXHgwQ 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/ iQEcBAEBCAAGBQJWKOuuAAoJEKeha0olJ0Nq4y0IAIvI7fg2KLX/oLWEHUei2wiU 9LbI/3zbrvagauQWh2GJRptIEkWaJTozgsYpRrHzpLogpvW51c4Zar3Wv7BAqb9g SbVzEzA9mIRj806790+KBXkKW5QjwEg4ARyh9+sjnNW2gxxKmDLNkss/Mg4BFVIa s5MxrmFapLgaAc2CWgkboYtHzZwfZWwtoR6ecvmEgjD7CEOA7kk+CdGCZhzb31je invwOF7FZvtCa9nDSuZ1JUf9723UVpgIaDmbg2gzp81bxayl+Pi8mrhLVhJgKcbd zoM8YQ0sRn55fJXrKa48zp5CfNNeU9AcWjH0vud5O4bJPGJwyIXKD4zulH4rRfM= =O+ve -----END PGP SIGNATURE----- --g4t8rwDaJFGPdEq0X69ONB5hhdqDXHgwQ--