[Top][All Lists]

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

Re: [Qemu-devel] Mac OS X Port

From: Ronnie Misra
Subject: Re: [Qemu-devel] Mac OS X Port
Date: Mon, 13 Sep 2004 12:46:23 -0700

On Sep 13, 2004, at 7:03 AM, Bernard Sauterel wrote:

Can I be provided with the sources used to make the OS X binary
installer so I can patch them again to use tun/tap networking as described
here :

Maybe I am wrong and the OS X binaries are ready for tun/tap, but for
sure I can't use -user-net, as I need to do socket communications from OS
X to the emulated client (Linux).

I tried to get the latest sources from cvs and apply this patching :

But it failed, telling me some sources are already patched. Compiling
without patching failed too.

I use OS X 10.3.5

Thanks in advance

You shouldn't need that patch any more; you should only need the following change:

diff -u -d -b -w -u -w -r1.97 vl.c
--- vl.c        6 Sep 2004 00:14:04 -0000       1.97
+++ vl.c        13 Sep 2004 19:38:36 -0000
@@ -38,6 +38,7 @@
 #include <sys/mman.h>
 #include <sys/ioctl.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <dirent.h>
 #ifdef _BSD
 #include <sys/stat.h>

David, this should also fix your compilation problems.

Fabrice, any chance we can get this fix into CVS?


reply via email to

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