janitor: do not rely on indirect inclusions of or from qemu-char.h

Various header files rely on qemu-char.h including qemu-config.h or
main-loop.h, but they really do not need qemu-char.h at all (particularly
interesting is the case of the block layer!).  Clean this up, and also
add missing inclusions of qemu-char.h itself.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
26 files changed
tree: bb954371505f4639307269cc90714ef0b494378c
  1. audio/
  2. backends/
  3. block/
  4. bsd-user/
  5. default-configs/
  6. disas/
  7. docs/
  8. fpu/
  9. fsdev/
  10. gdb-xml/
  11. hw/
  12. include/
  13. ldscripts/
  14. libcacard/
  15. linux-headers/
  16. linux-user/
  17. net/
  18. pc-bios/
  19. qapi/
  20. qga/
  21. QMP/
  22. qom/
  23. roms/
  24. scripts/
  25. slirp/
  26. stubs/
  27. sysconfigs/
  28. target-alpha/
  29. target-arm/
  30. target-cris/
  31. target-i386/
  32. target-lm32/
  33. target-m68k/
  34. target-microblaze/
  35. target-mips/
  36. target-openrisc/
  37. target-ppc/
  38. target-s390x/
  39. target-sh4/
  40. target-sparc/
  41. target-unicore32/
  42. target-xtensa/
  43. tcg/
  44. tests/
  45. trace/
  46. ui/
  47. .exrc
  48. .gitignore
  49. .gitmodules
  50. .mailmap
  51. a.out.h
  52. acl.c
  53. acl.h
  54. aes.c
  55. aes.h
  56. aio-posix.c
  57. aio-win32.c
  58. arch_init.c
  59. arch_init.h
  60. async.c
  61. balloon.c
  62. balloon.h
  63. bitmap.c
  64. bitmap.h
  65. bitops.c
  66. bitops.h
  67. block-migration.c
  68. block-migration.h
  69. block.c
  70. block.h
  71. block_int.h
  72. blockdev-nbd.c
  73. blockdev.c
  74. blockdev.h
  75. blockjob.c
  76. blockjob.h
  77. bswap.h
  78. bt-host.c
  79. bt-host.h
  80. bt-vhci.c
  81. buffered_file.c
  82. buffered_file.h
  83. cache-utils.c
  84. cache-utils.h
  85. Changelog
  86. cmd.c
  87. cmd.h
  88. CODING_STYLE
  89. compatfd.c
  90. compatfd.h
  91. compiler.h
  92. config.h
  93. configure
  94. console.c
  95. console.h
  96. COPYING
  97. COPYING.LIB
  98. coroutine-gthread.c
  99. coroutine-sigaltstack.c
  100. coroutine-ucontext.c
  101. coroutine-win32.c
  102. cpu-all.h
  103. cpu-common.h
  104. cpu-defs.h
  105. cpu-exec.c
  106. cpus.c
  107. cpus.h
  108. cputlb.c
  109. cputlb.h
  110. cursor.c
  111. cursor_hidden.xpm
  112. cursor_left_ptr.xpm
  113. cutils.c
  114. def-helper.h
  115. device_tree.c
  116. device_tree.h
  117. disas.c
  118. dma-helpers.c
  119. dma.h
  120. dump-stub.c
  121. dump.c
  122. dump.h
  123. elf.h
  124. envlist.c
  125. envlist.h
  126. error.c
  127. error.h
  128. event_notifier-posix.c
  129. event_notifier-win32.c
  130. event_notifier.h
  131. exec-all.h
  132. exec-memory.h
  133. exec.c
  134. gdbstub.c
  135. gdbstub.h
  136. gen-icount.h
  137. HACKING
  138. hmp-commands.hx
  139. hmp.c
  140. hmp.h
  141. host-utils.c
  142. host-utils.h
  143. hwaddr.h
  144. input.c
  145. int128.h
  146. iohandler.c
  147. ioport.c
  148. ioport.h
  149. iorange.h
  150. iov.c
  151. iov.h
  152. json-lexer.c
  153. json-lexer.h
  154. json-parser.c
  155. json-parser.h
  156. json-streamer.c
  157. json-streamer.h
  158. kvm-all.c
  159. kvm-stub.c
  160. kvm.h
  161. libfdt_env.h
  162. LICENSE
  163. main-loop.c
  164. main-loop.h
  165. MAINTAINERS
  166. Makefile
  167. Makefile.objs
  168. Makefile.target
  169. memory-internal.h
  170. memory.c
  171. memory.h
  172. memory_mapping-stub.c
  173. memory_mapping.c
  174. memory_mapping.h
  175. migration-exec.c
  176. migration-fd.c
  177. migration-tcp.c
  178. migration-unix.c
  179. migration.c
  180. migration.h
  181. module.c
  182. module.h
  183. monitor.c
  184. monitor.h
  185. nbd.c
  186. nbd.h
  187. net.c
  188. net.h
  189. notify.c
  190. notify.h
  191. os-posix.c
  192. os-win32.c
  193. osdep.c
  194. osdep.h
  195. oslib-posix.c
  196. oslib-win32.c
  197. page_cache.c
  198. path.c
  199. pci-ids.txt
  200. poison.h
  201. qapi-schema-guest.json
  202. qapi-schema-test.json
  203. qapi-schema.json
  204. qbool.c
  205. qbool.h
  206. qdict-test-data.txt
  207. qdict.c
  208. qdict.h
  209. qemu-aio.h
  210. qemu-barrier.h
  211. qemu-bridge-helper.c
  212. qemu-char.c
  213. qemu-char.h
  214. qemu-common.h
  215. qemu-config.c
  216. qemu-config.h
  217. qemu-coroutine-int.h
  218. qemu-coroutine-io.c
  219. qemu-coroutine-lock.c
  220. qemu-coroutine-sleep.c
  221. qemu-coroutine.c
  222. qemu-coroutine.h
  223. qemu-doc.texi
  224. qemu-error.c
  225. qemu-error.h
  226. qemu-file.h
  227. qemu-ga.c
  228. qemu-img-cmds.hx
  229. qemu-img.c
  230. qemu-img.texi
  231. qemu-io.c
  232. qemu-lock.h
  233. qemu-log.c
  234. qemu-log.h
  235. qemu-nbd.c
  236. qemu-nbd.texi
  237. qemu-objects.h
  238. qemu-option-internal.h
  239. qemu-option.c
  240. qemu-option.h
  241. qemu-options-wrapper.h
  242. qemu-options.h
  243. qemu-options.hx
  244. qemu-os-posix.h
  245. qemu-os-win32.h
  246. qemu-pixman.c
  247. qemu-pixman.h
  248. qemu-progress.c
  249. qemu-queue.h
  250. qemu-seccomp.c
  251. qemu-seccomp.h
  252. qemu-sockets.c
  253. qemu-tech.texi
  254. qemu-thread-posix.c
  255. qemu-thread-posix.h
  256. qemu-thread-win32.c
  257. qemu-thread-win32.h
  258. qemu-thread.h
  259. qemu-timer-common.c
  260. qemu-timer.c
  261. qemu-timer.h
  262. qemu-tls.h
  263. qemu-tool.c
  264. qemu-types.h
  265. qemu-user-types.h
  266. qemu-user.c
  267. qemu-x509.h
  268. qemu-xattr.h
  269. qemu.sasl
  270. qemu_socket.h
  271. qerror.c
  272. qerror.h
  273. qfloat.c
  274. qfloat.h
  275. qint.c
  276. qint.h
  277. qjson.c
  278. qjson.h
  279. qlist.c
  280. qlist.h
  281. qmp-commands.hx
  282. qmp.c
  283. qobject.h
  284. qstring.c
  285. qstring.h
  286. qtest.c
  287. qtest.h
  288. range.h
  289. readline.c
  290. readline.h
  291. README
  292. rules.mak
  293. savevm.c
  294. softmmu-semi.h
  295. softmmu_defs.h
  296. softmmu_exec.h
  297. softmmu_header.h
  298. softmmu_template.h
  299. spice-qemu-char.c
  300. sysemu.h
  301. tcg-runtime.c
  302. tci.c
  303. thread-pool.c
  304. thread-pool.h
  305. thunk.c
  306. thunk.h
  307. TODO
  308. trace-events
  309. translate-all.c
  310. translate-all.h
  311. uboot_image.h
  312. uri.c
  313. uri.h
  314. user-exec.c
  315. VERSION
  316. version.rc
  317. vgafont.h
  318. vl.c
  319. vmstate.h
  320. xen-all.c
  321. xen-mapcache.c
  322. xen-mapcache.h
  323. xen-stub.c