Skip to contentSkip to conversation

Found a tun/tap patch for osx

Qemu-devel Hans Fuchs 3 participants 4 messages Dec 14, 2004 – May 12, 2005

lore
Share & tools
lore
#1 lore raw
Quoted 10 lines · On December 14th, 2004 Hans Fuchs wrote:

Hello

Here is a patch

http://www-user.rhrk.uni-kl.de/~nissler/tuntap/qemu_tap_os_x.patch

it adds tun/tap support to osx.

Best,
Hans

I don't own a macosx machine, but others around me do, and they want to run qemu. The above patch comes from this page:

http://www-user.rhrk.uni-kl.de/~nissler/tuntap/

Fabrice:

It still applies cleanly to qemu source in CVS HEAD. If it actually works, can't you commit this patch?

Thanks.

Signature · 1 line
Jason Brittain
#2 lore raw

Any confirmations from OS X users that this patch works OK with CVS version of QEMU?

Thanks,
Hetz

Quoted 32 lines · Jason Brittain
Quoted 10 lines · On December 14th, 2004 Hans Fuchs wrote:

Hello

Here is a patch

http://www-user.rhrk.uni-kl.de/~nissler/tuntap/qemu_tap_os_x.patch

it adds tun/tap support to osx.

Best,
Hans

I don't own a macosx machine, but others around me do, and they want to run qemu. The above patch comes from this page:

http://www-user.rhrk.uni-kl.de/~nissler/tuntap/

Fabrice:

It still applies cleanly to qemu source in CVS HEAD. If it actually works, can't you commit this patch?

Thanks.

--
Jason Brittain

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#3 lore raw

Today I can finally confirm that the patch does work okay on OSX 10.3.9 (Panther?) with qemu source from CVS HEAD.. Or, at least, when I follow all of the directions on the page, I can boot qemu with RH9 Linux guest, and:

- sshing from the host into the guest works.
- pinging the guest's gateway from the guest works.
- pinging the host's real IP address from the guest works.
- pinging anything outside of the host didn't work, but I haven't spent much time yet trying to figure out why.
- DNS inside the guest didn't seem to work either.. but that's likely related to the previous item.

I believe the remaining problems are routing problems that are caused by some failures in the ifup.sh script that comes with the OSX tun/tap driver. And, since the machine I tried this on isn't mine, I don't really have the opportunity to try all kinds of other stuff, nor dig into what's wrong with the ifup.sh script, but the co-worker of mine whose laptop it is said he'll see what he can figure out.

So, I think at least the qemu patch works as written. Can we commit that?

Cheers.

Signature · 1 line
Jason Brittain
Quoted 35 lines · Hetz Ben Hamo

Any confirmations from OS X users that this patch works OK with CVS version of QEMU?

Thanks,
Hetz

Quoted 27 lines · Jason Brittain
Quoted 10 lines · On December 14th, 2004 Hans Fuchs wrote:

Hello

Here is a patch

http://www-user.rhrk.uni-kl.de/~nissler/tuntap/qemu_tap_os_x.patch

it adds tun/tap support to osx.

Best,
Hans

I don't own a macosx machine, but others around me do, and they want to run qemu. The above patch comes from this page:

http://www-user.rhrk.uni-kl.de/~nissler/tuntap/

Fabrice:

It still applies cleanly to qemu source in CVS HEAD. If it actually works, can't you commit this patch?

Thanks.

--
Jason Brittain