Xen 4.1.0 RC3
qemu-xen: disable buffering on the save file for stubdoms

We need to issue reads with the exact number of bytes to read the
qemu-xen save file, and to do that this patch disables buffering on all
the savevm reads/writes for stubdoms.

[This is pretty horrid; hopefully there will be better solution for 4.2 -iwj]

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