maybe this is a better fix --- net/tap-win32.c 2010-07-05 11:14:51 +0200 +++ net/tap-win32.c-orig 2010-07-05 11:33:11 +0200 @@ -479,7 +479,7 @@ static int tap_win32_write(tap_win32_ove } } - return 0; + return write_size; } static DWORD WINAPI tap_win32_thread_entry(LPVOID param)
** Patch added: "tap-win32.diff" http://launchpadlibrarian.net/51405123/tap-win32.diff -- Windows host tap (tap-win32) is not working on QEMU ver 0.12.X https://bugs.launchpad.net/bugs/589564 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: To reproduce the bug: 1) Install tap driver from openvpn (either v8/v9). Rename the tap connection to "mytap" and set the IP to 192.168.1.1 (or any ip) 2) use any QEMU 0.12.X and issue the following command c:\qemu> qemu -net nic -net tap,ifname=mytap -cdrom ../linux.iso 3) Inside linux guest system, set the ip of the nic # ifconfig eth0 192.168.1.2 4) In the windows host try to ping the linux guest (or the other way around, after you disable the windows firewall) c:\qemu> ping 192.168.1.2 Pinging 192.168.1.2 with 32 bytes of data: Reply from 192.168.1.1: Destination host unreachable. Those above steps is not working on QEMU 0.12.X. But confirmed working (ping successful) on: - QEMU 0.9.X - QEMU 0.10.X - QEMU 0.11.X I have tried with windows XP and windows 7 host system. I haven't tried the qemu latest from git repository, but looking at the "net/tap-win32.c" revision date, I guess the bug has been around for a while. Thanks.