From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIkg5-0004rx-5M for qemu-devel@nongnu.org; Thu, 21 Mar 2013 14:57:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIkg2-00052s-DF for qemu-devel@nongnu.org; Thu, 21 Mar 2013 14:57:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIkg2-00052m-4C for qemu-devel@nongnu.org; Thu, 21 Mar 2013 14:57:26 -0400 Message-ID: <514B5810.7080905@redhat.com> Date: Thu, 21 Mar 2013 12:57:20 -0600 From: Eric Blake MIME-Version: 1.0 References: <20130321190509.6e1d73e5@messir.net> In-Reply-To: <20130321190509.6e1d73e5@messir.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2AEUNPLSFCFVFVJKKLBIL" Subject: Re: [Qemu-devel] [PATCH] ifname=xxx for -netdev bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexandre Kandalintsev Cc: Anthony Liguori , qemu-devel@nongnu.org, Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2AEUNPLSFCFVFVJKKLBIL Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/21/2013 12:05 PM, Alexandre Kandalintsev wrote: > Hi! >=20 >=20 > Here is the patch that allows us to specify the name of tap interface > when -netdev bridge is used. It's like -netdev tap,ifname=3Dxxx, but fo= r > bridges. >=20 > +++ b/qapi-schema.json > @@ -2676,6 +2676,7 @@ > { 'type': 'NetdevBridgeOptions', > 'data': { > '*br': 'str', > + '*ifname': 'str', > '*helper': 'str' } } You also need to add a line documenting this field: # @ifname: #optional Set the interface name that will be used (since 1.5)= =2E --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2AEUNPLSFCFVFVJKKLBIL 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.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRS1gQAAoJEKeha0olJ0NqR/0IAI0wewQGGuIdHSZyoK8mH6kJ MjxejJpvgquJX01EF+0dHKzmanDOudTcIbZuo+eo1S8wPpQSNi0Qy2/Vh0vWYU/5 OBBomeGaVhbyVsU6nC3s8wMPYJebPbPCWJlaOQLQpXwHqGnyVtjNBGE4X8N+15MF /odXtI/OZ/gySbjbNCrDMEmRlZb/7Iu/KNug2cTrczwNjCk/xc69ZKUujONumjkX 51M/6QHCZOrIaNX4rugfe5lgO1GgsmaS7SuUtaP8kBSfqT5qa6MZeSibcson059c VBJnXwhZl4iTRAChzk3NVSbePbRspOx454V0lj0m7g6y4upB2B2nlX8KoscRGdg= =6DN5 -----END PGP SIGNATURE----- ------enig2AEUNPLSFCFVFVJKKLBIL--