Patchwork [Bug,589564] Re: Windows host tap (tap-win32) is not working on QEMU ver 0.12.X

login
register
mail settings
Submitter Lode Leroy
Date July 5, 2010, 9:37 a.m.
Message ID <20100705093725.20691.79354.malone@wampee.canonical.com>
Download mbox | patch
Permalink /patch/57884/
State New
Headers show

Comments

Lode Leroy - July 5, 2010, 9:37 a.m.
maybe this is a better fix



** Patch added: "tap-win32.diff"
   http://launchpadlibrarian.net/51405123/tap-win32.diff

Patch

--- 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)