diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-03-08 11:50:21 +0300 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2010-04-26 11:35:50 -0500 |
commit | 2b0109cdd8be5a58d230db249da51abf617d2ca0 (patch) | |
tree | 4ed1cd5ac707262ca98965e13618adac78faf5f6 /recipes/qemu/qemu-0.12.3/22_net_tuntap_stall.patch | |
parent | 89f3a006a15986d045cddc0f405ecac78d11bb9a (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>
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.patch | 25 |
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). */ |