From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EM98w-0000Px-TN for qemu-devel@nongnu.org; Sun, 02 Oct 2005 15:05:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EM98v-0000Pc-PV for qemu-devel@nongnu.org; Sun, 02 Oct 2005 15:05:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EM98E-0008LQ-Gu for qemu-devel@nongnu.org; Sun, 02 Oct 2005 15:04:18 -0400 Received: from [32.97.110.151] (helo=e33.co.us.ibm.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EM8pw-000262-Fv for qemu-devel@nongnu.org; Sun, 02 Oct 2005 14:45:25 -0400 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e33.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id j92IhorJ030903 for ; Sun, 2 Oct 2005 14:43:50 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j92IjKKW431550 for ; Sun, 2 Oct 2005 12:45:20 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j92IjKMN017489 for ; Sun, 2 Oct 2005 12:45:20 -0600 Received: from [9.65.101.106] (sig-9-65-101-106.mts.ibm.com [9.65.101.106]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j92IjJta017471 for ; Sun, 2 Oct 2005 12:45:20 -0600 Message-ID: <43402ABC.3040805@us.ibm.com> Date: Sun, 02 Oct 2005 13:45:16 -0500 From: Anthony Liguori 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> In-Reply-To: <433F92CB.1060600@eclis.ch> 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 Jean-Christian de Rivaz wrote: > Henrik Nordstrom a =E9crit : > >> On Sat, 1 Oct 2005, Jean-Christian de Rivaz wrote: >> >>> Attached is a patch proposition to allow opennig an existing tun=20 >>> (already configured by root). >>> >>> This patch can work only on Linux as it make no change into the code=20 >>> for BSD. >>> >>> Please make open comment about this to improve it or to let my know=20 >>> why this if not a good thing... >> >> >> >> Quite similar to my patch posted some many months ago (and reposted=20 >> some week ago on request). > > > Yes. This is just an update of my first patch posted the 13 january=20 > 2005 so it should apply without offset warning. I don't understand, why is this patch needed? It's a pretty simple C program to create a tun device by whatever name=20 you want and just pass the fd to qemu via -tun-fd. I think it's=20 generally better to have the least number of options necessary to make=20 things easier to understand. Is it really something that so many people would want to use that it=20 warrants making it an option? Is there a concrete use-case that this=20 enables? Regards, Anthony Liguori > Maybe can I propose to joint our effort ?