From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EMQvR-0007PF-Qq for qemu-devel@nongnu.org; Mon, 03 Oct 2005 10:04:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EMQvP-0007NT-0b for qemu-devel@nongnu.org; Mon, 03 Oct 2005 10:04:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMQvN-0007J4-Kd for qemu-devel@nongnu.org; Mon, 03 Oct 2005 10:04:13 -0400 Received: from [144.85.15.72] (helo=mail.eclis.ch) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EMQra-0001wq-U6 for qemu-devel@nongnu.org; Mon, 03 Oct 2005 10:00:19 -0400 Message-ID: <43413971.4080307@eclis.ch> Date: Mon, 03 Oct 2005 16:00:17 +0200 From: Jean-Christian de Rivaz MIME-Version: 1.0 Subject: Re: [Qemu-devel] tun/tap networking: patch for existing tun References: <20050930221321.C7BED31C14@ravel.n2.net> <20050930230149.GA20433@jbrown.mylinuxbox.org> <433E44F9.8040501@eclis.ch> <20051001131215.GB28444@jbrown.mylinuxbox.org> <433EF5C4.2030801@eclis.ch> <433F92CB.1060600@eclis.ch> <43402ABC.3040805@us.ibm.com> <20051002193912.GB13825@jbrown.mylinuxbox.org> <434041CD.9080507@eclis.ch> <20051002223734.GA17623@jbrown.mylinuxbox.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Henrik Nordstrom a =E9crit : > The proposal by Fabrice looks better to me >=20 > -net usernet,macaddr=3D00:11:a:0:2:19 -net tunfd=3D10,macaddr=3D00:11:a= :0:1:19 >=20 > this way the syntax can easily be extended with new options as needed,=20 > and the exact order of things is not important (you just specify the ne= t=20 > parameters as needed). >=20 > Only objection is that for the tunfd case I would use >=20 > -net tap,fd=3D10,macaddr=3D... >=20 >> For the tap type we could have a 3rd optional parameter for the name,=20 >> e.g. -net tap,macaddr,name (with name defaulting to tapX if its not=20 >> specified). >=20 >=20 > What about this: >=20 > -net tap,ifname=3Dqemu0,macaddr=3D... I like it. --=20 Jean-Christian de Rivaz