summaryrefslogtreecommitdiff
path: root/recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-08 11:50:21 +0300
committerRoman I Khimov <khimov@altell.ru>2010-03-09 20:27:57 +0300
commit3d18f7dff9371a60034c6e7993046e8f018e013d (patch)
tree7181fd803a929eab54b1c9365a5f59373372f0e9 /recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch
parentc495ba7d82add2fb927e8206910965740d752a33 (diff)
qemu: add version 0.12.3
qemu-native tested to compile on openSUSE 11.2 and Debian Lenny. Binary locale generation tested for qemuarm/glibc, simpad/glibc, x86-prescott/eglibc, efika/glibc. Signed-off-by: Roman I Khimov <khimov@altell.ru> Acked-by: Tom Rini <tom_rini@mentor.com> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch')
-rw-r--r--recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch b/recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch
new file mode 100644
index 0000000000..01dc29d910
--- /dev/null
+++ b/recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch
@@ -0,0 +1,25 @@
+Index: qemu-0.12.3/net/tap-linux.c
+===================================================================
+--- qemu-0.12.3.orig/net/tap-linux.c
++++ qemu-0.12.3/net/tap-linux.c
+@@ -43,7 +43,7 @@ int tap_open(char *ifname, int ifname_si
+ return -1;
+ }
+ memset(&ifr, 0, sizeof(ifr));
+- ifr.ifr_flags = IFF_TAP | IFF_NO_PI;
++ ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_ONE_QUEUE;
+
+ if (*vnet_hdr) {
+ unsigned int features;
+Index: qemu-0.12.3/net/tap-linux.h
+===================================================================
+--- qemu-0.12.3.orig/net/tap-linux.h
++++ qemu-0.12.3/net/tap-linux.h
+@@ -33,6 +33,7 @@
+ /* TUNSETIFF ifr flags */
+ #define IFF_TAP 0x0002
+ #define IFF_NO_PI 0x1000
++#define IFF_ONE_QUEUE 0x2000
+ #define IFF_VNET_HDR 0x4000
+
+ /* Features for GSO (TUNSETOFFLOAD). */