From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HFsIX-0002n3-7E for qemu-devel@nongnu.org; Sat, 10 Feb 2007 08:29:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HFsIU-0002lh-Te for qemu-devel@nongnu.org; Sat, 10 Feb 2007 08:29:48 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFsIU-0002lY-LD for qemu-devel@nongnu.org; Sat, 10 Feb 2007 08:29:46 -0500 Received: from eastrmmtao05.cox.net ([68.230.240.34]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HFsIU-0000nZ-8s for qemu-devel@nongnu.org; Sat, 10 Feb 2007 08:29:46 -0500 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao05.cox.net (InterMail vM.6.01.06.03 201-2131-130-104-20060516) with ESMTP id <20070210132945.PKFI26107.eastrmmtao05.cox.net@eastrmimpo02.cox.net> for ; Sat, 10 Feb 2007 08:29:45 -0500 Message-ID: <10725461.1171114185903.JavaMail.root@eastrmwml08.mgt.cox.net> Date: Sat, 10 Feb 2007 8:29:45 -0500 From: Ben Taylor Subject: Re: [Qemu-devel] Patch: solaris TAP patch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Reply-To: sol10x86@cox.net, 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 Attribution for the TAP patch goes to Sittichai Palanisong (palanisong@yahoo.com). The qemu_tap.c is a derivitive work of a previous version called qemu_tun.c, and the scripts are also by Sittichai with derivations by me. ---- Ben Taylor wrote: > > This patch is to allow solaris to create a tap device in qemu, using the modified > tun/tap driver at http://www.whiteboard.ne.jp/~admin2/tuntap. > > I'm also including qemu_tap.c which is a setuid wrapper which sets up the > tap, uses /etc/qemu-ifup (included - modify for your environment) and a > start script (dsl.sh, minimal, but shows what needs done). > > To build qemu_tap, it's very simple. > > gcc -o qemu_tap qemu_tap.c > sudo chown root qemu_tap > sudo chmod 4755 qemu_tap > > The bridge code at http://www.whiteboard.ne.jp/~admin2/tuntap should > also work, and should only require /etc/qemu-ifup to contain the commands > to add the bridge, ie, no ifconfig should be needed.