qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Problems and solution with TAP networking on Solaris


From: Pavel Dufek
Subject: [Qemu-devel] Problems and solution with TAP networking on Solaris
Date: Thu, 27 Nov 2008 20:35:39 +0100 (CET)

        Hi,
i'm using Qemu 0.9.1 on Solaris 10 64bit (0805 edition) SPARC, qemu 32 bit 
compiled. It works well, but tap networking initiates tapX interface in 
a strange way (device is running, but has not UP flag and cannot be brought 
up using ifconfig). For TAP i'm using latest driver from whiteboard.ne.jp.
        I have modified vl.c code (exactly the same part of code is in 
net.c in current svn version) in function tap_alloc so it is reduced only 
to opening /dev/tap and allocating new PPA. After it i use "ifconfig tapX 
plumb", "ifconfig tapX ip netmask up" and all works well. See attached 
patch - maybe will be useful for somebody.
                                With best regards,
                                        Pavel Dufek, Czech Republic.

Attachment: vl.c.patch
Description: Minimalized tap init patch


reply via email to

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