i386/SVM: return amount of ASIDs

With SVM the TLB supports tagging to distinguish TLB entries from
different virtual CPUs. This tag is called an ASID. The amount of ASIDs is
given in EBX of the SVM-CPUID-leaf. Currently we return 0, which might
break hypervisors. Let's better return something >0 here, say 0x10.
Since we're flushing the complete TLB on every VM entry and exit we're not
making use of the ASID information anyways.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

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