Introduce QInt unit-tests

This suite contains tests to assure that QInt API works as expected.

To execute it you should have check installed and build QEMU with
check support enabled (--enable-check-utests) and then run:

$ ./check-qint

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
3 files changed
tree: 5fdedad5f55cf86b11641ad6ba04dcdd55a3a27a
  1. audio/
  2. block/
  3. bsd-user/
  4. darwin-user/
  5. fpu/
  6. gdb-xml/
  7. hw/
  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-microblaze/
  17. target-mips/
  18. target-ppc/
  19. target-sh4/
  20. target-sparc/
  21. tcg/
  22. tests/
  23. .gitignore
  24. a.out.h
  25. acl.c
  26. acl.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.c
  37. block.h
  38. block_int.h
  39. bswap.h
  40. bt-host.c
  41. bt-host.h
  42. bt-vhci.c
  43. buffered_file.c
  44. buffered_file.h
  45. cache-utils.c
  46. cache-utils.h
  47. Changelog
  48. check-qint.c
  49. cmd.c
  50. cmd.h
  51. cocoa.m
  52. CODING_STYLE
  53. configure
  54. console.c
  55. console.h
  56. COPYING
  57. COPYING.LIB
  58. cpu-all.h
  59. cpu-common.h
  60. cpu-defs.h
  61. cpu-exec.c
  62. create_config
  63. cris-dis.c
  64. curses.c
  65. curses_keys.h
  66. cutils.c
  67. d3des.c
  68. d3des.h
  69. def-helper.h
  70. device_tree.c
  71. device_tree.h
  72. dis-asm.h
  73. disas.c
  74. disas.h
  75. dma-helpers.c
  76. dma.h
  77. dyngen-exec.h
  78. elf.h
  79. elf_ops.h
  80. envlist.c
  81. envlist.h
  82. exec-all.h
  83. exec.c
  84. feature_to_c.sh
  85. gdbstub.c
  86. gdbstub.h
  87. gen-icount.h
  88. host-utils.c
  89. host-utils.h
  90. hostregs_helper.h
  91. hpet.h
  92. hppa-dis.c
  93. hppa.ld
  94. hxtool
  95. i386-dis.c
  96. i386.ld
  97. ia64.ld
  98. ioport-user.c
  99. ioport.c
  100. ioport.h
  101. keymaps.c
  102. keymaps.h
  103. kvm-all.c
  104. kvm.h
  105. libfdt_env.h
  106. LICENSE
  107. linux-aio.c
  108. loader.c
  109. m68k-dis.c
  110. m68k-semi.c
  111. m68k.ld
  112. MAINTAINERS
  113. Makefile
  114. Makefile.hw
  115. Makefile.target
  116. microblaze-dis.c
  117. migration-exec.c
  118. migration-fd.c
  119. migration-tcp.c
  120. migration-unix.c
  121. migration.c
  122. migration.h
  123. mips-dis.c
  124. mips.ld
  125. module.c
  126. module.h
  127. monitor.c
  128. monitor.h
  129. nbd.c
  130. nbd.h
  131. net-checksum.c
  132. net.c
  133. net.h
  134. osdep.c
  135. osdep.h
  136. path.c
  137. pci-ids.txt
  138. posix-aio-compat.c
  139. ppc-dis.c
  140. ppc.ld
  141. ppc64.ld
  142. qdict.c
  143. qdict.h
  144. qemu-aio.h
  145. qemu-binfmt-conf.sh
  146. qemu-char.c
  147. qemu-char.h
  148. qemu-common.h
  149. qemu-config.c
  150. qemu-config.h
  151. qemu-doc.texi
  152. qemu-img-cmds.hx
  153. qemu-img.c
  154. qemu-img.texi
  155. qemu-io.c
  156. qemu-lock.h
  157. qemu-log.h
  158. qemu-malloc.c
  159. qemu-monitor.hx
  160. qemu-nbd.c
  161. qemu-nbd.texi
  162. qemu-option.c
  163. qemu-option.h
  164. qemu-options.hx
  165. qemu-sockets.c
  166. qemu-tech.texi
  167. qemu-thread.c
  168. qemu-thread.h
  169. qemu-timer.h
  170. qemu-tool.c
  171. qemu.sasl
  172. qemu_socket.h
  173. qint.c
  174. qint.h
  175. qobject.h
  176. qstring.c
  177. qstring.h
  178. readline.c
  179. readline.h
  180. README
  181. rules.mak
  182. s390-dis.c
  183. s390.ld
  184. savevm.c
  185. sdl.c
  186. sdl_keysym.h
  187. sdl_zoom.c
  188. sdl_zoom.h
  189. sdl_zoom_template.h
  190. sh4-dis.c
  191. softmmu-semi.h
  192. softmmu_defs.h
  193. softmmu_exec.h
  194. softmmu_header.h
  195. softmmu_template.h
  196. sparc-dis.c
  197. sparc.ld
  198. sparc64.ld
  199. sys-queue.h
  200. sysemu.h
  201. tap-win32.c
  202. targphys.h
  203. texi2pod.pl
  204. thunk.c
  205. thunk.h
  206. TODO
  207. translate-all.c
  208. uboot_image.h
  209. usb-bsd.c
  210. usb-linux.c
  211. usb-stub.c
  212. VERSION
  213. vgafont.h
  214. vl.c
  215. vnc-auth-sasl.c
  216. vnc-auth-sasl.h
  217. vnc-auth-vencrypt.c
  218. vnc-auth-vencrypt.h
  219. vnc-tls.c
  220. vnc-tls.h
  221. vnc.c
  222. vnc.h
  223. vnc_keysym.h
  224. vnchextile.h
  225. x86_64.ld
  226. x_keymap.c
  227. x_keymap.h