Add support for tap vectored send

This is adapted from kvm-userspace.  It allows readv to be used with tap when
the host supports it.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6074 c046a42c-6fe2-441c-8c8c-71466251a162
1 file changed
tree: b79d38de7008a1779103bda8133698a600251711
  1. audio/
  2. bsd-user/
  3. darwin-user/
  4. fpu/
  5. gdb-xml/
  6. hw/
  7. keymaps/
  8. linux-user/
  9. pc-bios/
  10. slirp/
  11. target-alpha/
  12. target-arm/
  13. target-cris/
  14. target-i386/
  15. target-m68k/
  16. target-mips/
  17. target-ppc/
  18. target-sh4/
  19. target-sparc/
  20. tcg/
  21. tests/
  22. .gitignore
  23. a.out.h
  24. aes.c
  25. aes.h
  26. aio.c
  27. alpha-dis.c
  28. alpha.ld
  29. arm-dis.c
  30. arm-semi.c
  31. arm.ld
  32. balloon.h
  33. block-bochs.c
  34. block-cloop.c
  35. block-cow.c
  36. block-dmg.c
  37. block-nbd.c
  38. block-parallels.c
  39. block-qcow.c
  40. block-qcow2.c
  41. block-raw-posix.c
  42. block-raw-win32.c
  43. block-vmdk.c
  44. block-vpc.c
  45. block-vvfat.c
  46. block.c
  47. block.h
  48. block_int.h
  49. bswap.h
  50. bt-host.c
  51. bt-vhci.c
  52. buffered_file.c
  53. buffered_file.h
  54. cache-utils.c
  55. cache-utils.h
  56. Changelog
  57. cocoa.m
  58. configure
  59. console.c
  60. console.h
  61. COPYING
  62. COPYING.LIB
  63. cpu-all.h
  64. cpu-defs.h
  65. cpu-exec.c
  66. cris-dis.c
  67. curses.c
  68. curses_keys.h
  69. cutils.c
  70. d3des.c
  71. d3des.h
  72. def-helper.h
  73. device_tree.c
  74. device_tree.h
  75. dis-asm.h
  76. disas.c
  77. disas.h
  78. dyngen-exec.h
  79. elf.h
  80. elf_ops.h
  81. exec-all.h
  82. exec.c
  83. feature_to_c.sh
  84. gdbstub.c
  85. gdbstub.h
  86. gen-icount.h
  87. host-utils.c
  88. host-utils.h
  89. hostregs_helper.h
  90. hpet.h
  91. hppa-dis.c
  92. hppa.ld
  93. i386-dis.c
  94. i386.ld
  95. ia64.ld
  96. keymaps.c
  97. kqemu.c
  98. kqemu.h
  99. kvm-all.c
  100. kvm.h
  101. libfdt_env.h
  102. LICENSE
  103. loader.c
  104. m68k-dis.c
  105. m68k-semi.c
  106. m68k.ld
  107. MAINTAINERS
  108. Makefile
  109. Makefile.target
  110. migration-exec.c
  111. migration-tcp.c
  112. migration.c
  113. migration.h
  114. mips-dis.c
  115. mips.ld
  116. mipsel.ld
  117. monitor.c
  118. nbd.c
  119. nbd.h
  120. net-checksum.c
  121. net.c
  122. net.h
  123. osdep.c
  124. osdep.h
  125. posix-aio-compat.c
  126. posix-aio-compat.h
  127. ppc-dis.c
  128. ppc.ld
  129. ppc64.ld
  130. qemu-aio.h
  131. qemu-binfmt-conf.sh
  132. qemu-char.c
  133. qemu-char.h
  134. qemu-common.h
  135. qemu-doc.texi
  136. qemu-img.c
  137. qemu-img.texi
  138. qemu-lock.h
  139. qemu-log.h
  140. qemu-malloc.c
  141. qemu-nbd.c
  142. qemu-nbd.texi
  143. qemu-sockets.c
  144. qemu-tech.texi
  145. qemu-timer.h
  146. qemu-tool.c
  147. qemu_socket.h
  148. readline.c
  149. README
  150. s390-dis.c
  151. s390.ld
  152. savevm.c
  153. sdl.c
  154. sdl_keysym.h
  155. sh4-dis.c
  156. softmmu-semi.h
  157. softmmu_defs.h
  158. softmmu_exec.h
  159. softmmu_header.h
  160. softmmu_template.h
  161. sparc-dis.c
  162. sparc.ld
  163. sparc64.ld
  164. sys-queue.h
  165. sysemu.h
  166. tap-win32.c
  167. texi2pod.pl
  168. thunk.c
  169. thunk.h
  170. TODO
  171. translate-all.c
  172. uboot_image.h
  173. usb-bsd.c
  174. usb-linux.c
  175. usb-stub.c
  176. VERSION
  177. vgafont.h
  178. vl.c
  179. vnc.c
  180. vnc_keysym.h
  181. vnchextile.h
  182. x86_64.ld
  183. x_keymap.c