From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmmQI-00010Y-Ej for qemu-devel@nongnu.org; Mon, 27 Apr 2015 13:02:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmmQF-0000iu-1D for qemu-devel@nongnu.org; Mon, 27 Apr 2015 13:02:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmmQE-0000id-Ph for qemu-devel@nongnu.org; Mon, 27 Apr 2015 13:02:18 -0400 Message-ID: <553E6B98.9090505@redhat.com> Date: Mon, 27 Apr 2015 11:02:16 -0600 From: Eric Blake MIME-Version: 1.0 References: <1428206887-7921-1-git-send-email-eblake@redhat.com> <1428206887-7921-28-git-send-email-eblake@redhat.com> In-Reply-To: <1428206887-7921-28-git-send-email-eblake@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UpNw3tPCUGaH0koMMIb1KOEwcJfj2mQg6" Subject: Re: [Qemu-devel] [PATCH v6 27/36] qapi: More rigorous checking for type safety bypass List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, berto@igalia.co, armbru@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UpNw3tPCUGaH0koMMIb1KOEwcJfj2mQg6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/04/2015 10:07 PM, Eric Blake wrote: > Now that we have a way to validate every type, we can also be > stricter about enforcing that callers that want to bypass > type safety in generated code. Prior to this patch, it didn't > matter what value was associated with the key 'gen', but it > looked odd that 'gen':'yes' could result in bypassing the > generated code. These changes also enforce the changes made > earlier in the series for documentation and consolidation of > using '**' as the wildcard type, as well as 'gen':false as the > canonical spelling for requesting type bypass. >=20 > Note that 'gen':false is a one-way switch away from the default; > we do not support 'gen':true (similar for 'success-response). Missing close ' for success-response, if committer wants to touch that up= =2E > In practice, this doesn't matter. >=20 > Signed-off-by: Eric Blake > Reviewed-by: Markus Armbruster >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --UpNw3tPCUGaH0koMMIb1KOEwcJfj2mQg6 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/ iQEcBAEBCAAGBQJVPmuYAAoJEKeha0olJ0Nqe8MH/jRpJRs8YnobAJL7GLeSjJ85 nrIkMGforiJv1JqUO8lHPdVxk+Dl+0+QQYLHvfA0vVrAgulZPTKIOVm7Oe+d8Th/ o+vL+SUUCW0ritC7TqMqPVG5vlp38OXhLHCK+dayX8bNLhnaCQwpIa1/7TZfCc8L x/MRr49i0Px3ptKj7KQgdcQ6mlwfhW7ZVzv4ICzx4tgI2APmCOzFJpgOBXoWcIwd M4pKL9iBSmmrYVkxUEb/vXxbQHL7N9JQCUxjdZbXdRAJ7at2mL/vIb9mxbxKSPqq 7FDj8ofJmjvZ32YEt30mJoYMWlZ1c3RGW0d1uHBa1uGmMM8seN0mwTTJVqRytm0= =0KNC -----END PGP SIGNATURE----- --UpNw3tPCUGaH0koMMIb1KOEwcJfj2mQg6--