Introduce os-win32.c and move polling functions from vl.c

This introduces os-win32.c. It is meant to carry win32 specific
functions thata are not relevant for all of QEMU as well as win32
versions of various pieces like signal handling etc.

Move win32 polling handler helper functions from vl.c to os-win32.c

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Richard Henderson <rth@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
3 files changed
tree: 2db47886519fac56a74542f06e2562cae0ff17f9
  1. audio/
  2. block/
  3. bsd-user/
  4. darwin-user/
  5. default-configs/
  6. docs/
  7. fpu/
  8. fsdev/
  9. gdb-xml/
  10. hw/
  11. linux-user/
  12. net/
  13. pc-bios/
  14. QMP/
  15. roms/
  16. slirp/
  17. sysconfigs/
  18. target-alpha/
  19. target-arm/
  20. target-cris/
  21. target-i386/
  22. target-m68k/
  23. target-microblaze/
  24. target-mips/
  25. target-ppc/
  26. target-s390x/
  27. target-sh4/
  28. target-sparc/
  29. tcg/
  30. tests/
  31. .gitignore
  32. .gitmodules
  33. a.out.h
  34. acl.c
  35. acl.h
  36. aes.c
  37. aes.h
  38. aio.c
  39. alpha-dis.c
  40. alpha.ld
  41. arch_init.c
  42. arch_init.h
  43. arm-dis.c
  44. arm-semi.c
  45. arm.ld
  46. async.c
  47. balloon.c
  48. balloon.h
  49. block-migration.c
  50. block-migration.h
  51. block.c
  52. block.h
  53. block_int.h
  54. bswap.h
  55. bt-host.c
  56. bt-host.h
  57. bt-vhci.c
  58. buffered_file.c
  59. buffered_file.h
  60. cache-utils.c
  61. cache-utils.h
  62. Changelog
  63. check-qdict.c
  64. check-qfloat.c
  65. check-qint.c
  66. check-qjson.c
  67. check-qlist.c
  68. check-qstring.c
  69. cmd.c
  70. cmd.h
  71. cocoa.m
  72. CODING_STYLE
  73. config.h
  74. configure
  75. console.c
  76. console.h
  77. COPYING
  78. COPYING.LIB
  79. cpu-all.h
  80. cpu-common.h
  81. cpu-defs.h
  82. cpu-exec.c
  83. cpus.c
  84. cpus.h
  85. create_config
  86. cris-dis.c
  87. curses.c
  88. curses_keys.h
  89. cursor.c
  90. cursor_hidden.xpm
  91. cursor_left_ptr.xpm
  92. cutils.c
  93. d3des.c
  94. d3des.h
  95. def-helper.h
  96. device_tree.c
  97. device_tree.h
  98. dis-asm.h
  99. disas.c
  100. disas.h
  101. dma-helpers.c
  102. dma.h
  103. dyngen-exec.h
  104. elf.h
  105. envlist.c
  106. envlist.h
  107. exec-all.h
  108. exec.c
  109. feature_to_c.sh
  110. gdbstub.c
  111. gdbstub.h
  112. gen-icount.h
  113. host-utils.c
  114. host-utils.h
  115. hpet.h
  116. hppa-dis.c
  117. hppa.ld
  118. hxtool
  119. i386-dis.c
  120. i386.ld
  121. ia64-dis.c
  122. ia64.ld
  123. input.c
  124. ioport-user.c
  125. ioport.c
  126. ioport.h
  127. iov.c
  128. iov.h
  129. json-lexer.c
  130. json-lexer.h
  131. json-parser.c
  132. json-parser.h
  133. json-streamer.c
  134. json-streamer.h
  135. keymaps.c
  136. keymaps.h
  137. kvm-all.c
  138. kvm-stub.c
  139. kvm.h
  140. libfdt_env.h
  141. LICENSE
  142. linux-aio.c
  143. m68k-dis.c
  144. m68k-semi.c
  145. m68k.ld
  146. MAINTAINERS
  147. Makefile
  148. Makefile.dis
  149. Makefile.hw
  150. Makefile.objs
  151. Makefile.target
  152. Makefile.user
  153. microblaze-dis.c
  154. migration-exec.c
  155. migration-fd.c
  156. migration-tcp.c
  157. migration-unix.c
  158. migration.c
  159. migration.h
  160. mips-dis.c
  161. mips.ld
  162. module.c
  163. module.h
  164. monitor.c
  165. monitor.h
  166. nbd.c
  167. nbd.h
  168. net-checksum.c
  169. net.c
  170. net.h
  171. notify.c
  172. notify.h
  173. os-win32.c
  174. osdep.c
  175. osdep.h
  176. path.c
  177. pci-ids.txt
  178. poison.h
  179. posix-aio-compat.c
  180. ppc-dis.c
  181. ppc.ld
  182. ppc64.ld
  183. qbool.c
  184. qbool.h
  185. qdict-test-data.txt
  186. qdict.c
  187. qdict.h
  188. qemu-aio.h
  189. qemu-barrier.h
  190. qemu-binfmt-conf.sh
  191. qemu-char.c
  192. qemu-char.h
  193. qemu-common.h
  194. qemu-config.c
  195. qemu-config.h
  196. qemu-doc.texi
  197. qemu-error.c
  198. qemu-error.h
  199. qemu-img-cmds.hx
  200. qemu-img.c
  201. qemu-img.texi
  202. qemu-io.c
  203. qemu-lock.h
  204. qemu-log.h
  205. qemu-malloc.c
  206. qemu-monitor.hx
  207. qemu-nbd.c
  208. qemu-nbd.texi
  209. qemu-objects.h
  210. qemu-option.c
  211. qemu-option.h
  212. qemu-options.hx
  213. qemu-os-win32.h
  214. qemu-queue.h
  215. qemu-sockets.c
  216. qemu-tech.texi
  217. qemu-thread.c
  218. qemu-thread.h
  219. qemu-timer.c
  220. qemu-timer.h
  221. qemu-tool.c
  222. qemu-x509.h
  223. qemu.sasl
  224. qemu_socket.h
  225. qerror.c
  226. qerror.h
  227. qfloat.c
  228. qfloat.h
  229. qint.c
  230. qint.h
  231. qjson.c
  232. qjson.h
  233. qlist.c
  234. qlist.h
  235. qobject.h
  236. qstring.c
  237. qstring.h
  238. readline.c
  239. readline.h
  240. README
  241. rules.mak
  242. rwhandler.c
  243. rwhandler.h
  244. s390-dis.c
  245. s390.ld
  246. savevm.c
  247. sdl.c
  248. sdl_keysym.h
  249. sdl_zoom.c
  250. sdl_zoom.h
  251. sdl_zoom_template.h
  252. sh4-dis.c
  253. softmmu-semi.h
  254. softmmu_defs.h
  255. softmmu_exec.h
  256. softmmu_header.h
  257. softmmu_template.h
  258. sparc-dis.c
  259. sparc.ld
  260. sparc64.ld
  261. sysemu.h
  262. targphys.h
  263. tcg-runtime.c
  264. texi2pod.pl
  265. thunk.c
  266. thunk.h
  267. TODO
  268. translate-all.c
  269. uboot_image.h
  270. usb-bsd.c
  271. usb-linux.c
  272. usb-stub.c
  273. VERSION
  274. vgafont.h
  275. vl.c
  276. vnc-auth-sasl.c
  277. vnc-auth-sasl.h
  278. vnc-auth-vencrypt.c
  279. vnc-auth-vencrypt.h
  280. vnc-encoding-hextile.c
  281. vnc-encoding-tight.c
  282. vnc-encoding-tight.h
  283. vnc-encoding-zlib.c
  284. vnc-tls.c
  285. vnc-tls.h
  286. vnc.c
  287. vnc.h
  288. vnc_keysym.h
  289. vnchextile.h
  290. x86_64.ld
  291. x_keymap.c
  292. x_keymap.h