From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EMAWW-0006wj-ME for qemu-devel@nongnu.org; Sun, 02 Oct 2005 16:33:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EMAWS-0006uX-6w for qemu-devel@nongnu.org; Sun, 02 Oct 2005 16:33:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EMAWS-0006s7-28 for qemu-devel@nongnu.org; Sun, 02 Oct 2005 16:33:24 -0400 Received: from [144.85.15.72] (helo=mail.eclis.ch) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EMARF-00071G-5H for qemu-devel@nongnu.org; Sun, 02 Oct 2005 16:28:01 -0400 Message-ID: <434042CF.3080009@eclis.ch> Date: Sun, 02 Oct 2005 22:27:59 +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> <20051002165353.GA14941@tuxedo.skovlyporten.dk> <43401DE5.7080402@eclis.ch> <20051002194703.GA16244@jbrown.mylinuxbox.org> In-Reply-To: <20051002194703.GA16244@jbrown.mylinuxbox.org> 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 Jim C. Brown a =E9crit : > On Sun, Oct 02, 2005 at 07:50:29PM +0200, Jean-Christian de Rivaz wrote= : >=20 >>Is there any guideline about the network script ? Or should we add an=20 >>option to let the choice to the user if the network script is called or= =20 >>not ? >> >>--=20 >>Jean-Christian de Rivaz >> >=20 >=20 > If it's persistent, the device should already have been set up before q= emu gets > its hands on it. Same goes for pre-created tuntaps that are passed via = -tun-fd. > Only the tap devices that qemu creates need to be set up by qemu, which= is the > only case where we have to have the network script. >=20 Thanks a lot for this! :-) If I haven't make a mistake, this is how my proposed patch work. If it=20 don't work that way, please tell me to fix it. --=20 Jean-Christian de Rivaz