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 :
http://www-user.rhrk.uni-kl.de/~nissler/tuntap/index.html
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 :
http://lists.gnu.org/archive/html/qemu-devel/2004-07/msg00008.html
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?
Ronnie