qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Patch: solaris TAP patch


From: Ben Taylor
Subject: [Qemu-devel] Patch: solaris TAP patch
Date: Sat, 10 Feb 2007 7:36:17 -0500

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.

Attachment: qemu-solaris-tap-patch
Description: Binary data

Attachment: qemu-ifup
Description: Binary data

Attachment: qemu_tap.c
Description: Text Data

Attachment: dsl.sh
Description: Bourne shell script


reply via email to

[Prev in Thread] Current Thread [Next in Thread]