[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Patch: solaris TAP patch
From: |
Ben Taylor |
Subject: |
Re: [Qemu-devel] Patch: solaris TAP patch |
Date: |
Sat, 10 Feb 2007 8:29:45 -0500 |
Attribution for the TAP patch goes to Sittichai Palanisong
(address@hidden). 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 <address@hidden> 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.