From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYZBl-0000Ha-Lx for qemu-devel@nongnu.org; Tue, 22 Oct 2013 06:27:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYZBg-000101-Ph for qemu-devel@nongnu.org; Tue, 22 Oct 2013 06:27:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYZBg-0000xu-Gb for qemu-devel@nongnu.org; Tue, 22 Oct 2013 06:27:44 -0400 Message-ID: <5266530F.8030100@redhat.com> Date: Tue, 22 Oct 2013 11:27:27 +0100 From: Eric Blake MIME-Version: 1.0 References: <20131020145406.GA17618@type> <1382280980-21676-1-git-send-email-samuel.thibault@ens-lyon.org> <1382280980-21676-16-git-send-email-samuel.thibault@ens-lyon.org> <526596D7.6000909@redhat.com> <20131022102203.GQ5518@type.wlan.youpi.perso.aquilenet.fr> In-Reply-To: <20131022102203.GQ5518@type.wlan.youpi.perso.aquilenet.fr> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QDxcX0eWTa9RrucnhHfX2Fc4xaLRDsHmn" Subject: Re: [Qemu-devel] [PATCH 16/16] qapi-schema, qemu-options & slirp: Adding Qemu options for IPv6 addresses List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault Cc: Yann Bordenave , qemu-devel@nongnu.org, Guillaume Subiron This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QDxcX0eWTa9RrucnhHfX2Fc4xaLRDsHmn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/22/2013 11:22 AM, Samuel Thibault wrote: > Hello, >=20 > Eric Blake, le Mon 21 Oct 2013 22:04:23 +0100, a =C3=A9crit : >>> + '*ip6_prefix': 'str', >> >> Why is this a str instead of an integer? >=20 > prefix would be e.g. fc00::1/64. That requires me to post-parse it. Would it be smarter to represent this as two elements, one for the "fc00::1" string, and another for the 64 width, so that I don't have to post-parse? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --QDxcX0eWTa9RrucnhHfX2Fc4xaLRDsHmn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSZlMPAAoJEKeha0olJ0NqwpAH/1h9W7cFFQtLlYm9VMqJmgwF nIqFiJM0/LX4oMEwZJTElg/nNfeOirw20oM26eDfrQdIXK42e6uOUmWi7vtbbnlB oN9v/cHxwsFQ5NJFJKYZp78voF2jB1bBtIRw+vfNo6cafJJGqScToEOsg1jBE/Qh GW3ACnLjwRvrOAxBUBLywH0gYMrLo0bcM8POENoDx2TZPG+iwAVQAmLyWXvFxzFN HV3mNQNr4H13l7SKtBd0bo9rQRBjlfssYNuiyPD62GnY1EuFTsQiywWrq0EMibnl PByZW2LzvUwUf8A0XQba5KGDktZdcCmOe1JbC28q/NNre9PKN8qhdmEkVbgl5HA= =vwmG -----END PGP SIGNATURE----- --QDxcX0eWTa9RrucnhHfX2Fc4xaLRDsHmn--