summaryrefslogtreecommitdiff
path: root/recipes/qemu/qemu-0.10.3/22_net_tuntap_stall.patch
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-05-19 19:18:15 +0400
committerRoman I Khimov <khimov@altell.ru>2009-05-21 17:14:30 +0400
commit247515aec9c7b69239bbbc09a3604c5e4e17d01d (patch)
treec86fb34923bcd440bf4c36b5e3c63bdbd7834c01 /recipes/qemu/qemu-0.10.3/22_net_tuntap_stall.patch
parentccab93e06e6b3fc9a58a000fce97270d99911780 (diff)
qemu 0.10.3: port OE patches, make preferable version
Fixes binary locale generation broken by 6065fa491c009118ae282ae933215649cccfcd24. Tested to work on ARM OABI (simpad), ARM EABI (qemuarm), PowerPC (efika) and i686 (x86-prescott). Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Diffstat (limited to 'recipes/qemu/qemu-0.10.3/22_net_tuntap_stall.patch')
-rw-r--r--recipes/qemu/qemu-0.10.3/22_net_tuntap_stall.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/qemu/qemu-0.10.3/22_net_tuntap_stall.patch b/recipes/qemu/qemu-0.10.3/22_net_tuntap_stall.patch
new file mode 100644
index 0000000000..993960be98
--- /dev/null
+++ b/recipes/qemu/qemu-0.10.3/22_net_tuntap_stall.patch
@@ -0,0 +1,13 @@
+Index: qemu-0.10.3/net.c
+===================================================================
+--- qemu-0.10.3.orig/net.c 2009-05-19 17:46:54.650870195 +0400
++++ qemu-0.10.3/net.c 2009-05-19 17:47:05.612854521 +0400
+@@ -955,7 +955,7 @@
+ 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 (ifname[0] != '\0')
+ pstrcpy(ifr.ifr_name, IFNAMSIZ, ifname);
+ else