unittests.cfg 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. ##############################################################################
  2. # unittest configuration
  3. #
  4. # [unittest_name]
  5. # file = <name>.flat # Name of the flat file to be used.
  6. # smp = <num> # Number of processors the VM will use
  7. # # during this test. Use $MAX_SMP to use
  8. # # the maximum the host supports. Defaults
  9. # # to one.
  10. # extra_params = -append <params...> # Additional parameters used.
  11. # arch = i386|x86_64 # Select one if the test case is
  12. # # specific to only one.
  13. # groups = <group_name1> <group_name2> ... # Used to identify test cases
  14. # # with run_tests -g ...
  15. # # Specify group_name=nodefault
  16. # # to have test not run by
  17. # # default
  18. # accel = kvm|tcg # Optionally specify if test must run with
  19. # # kvm or tcg. If not specified, then kvm will
  20. # # be used when available.
  21. # timeout = <duration> # Optionally specify a timeout.
  22. # check = <path>=<value> # check a file for a particular value before running
  23. # # a test. The check line can contain multiple files
  24. # # to check separated by a space but each check
  25. # # parameter needs to be of the form <path>=<value>
  26. ##############################################################################
  27. [apic-split]
  28. file = apic.flat
  29. smp = 2
  30. extra_params = -cpu qemu64,+x2apic,+tsc-deadline -machine kernel_irqchip=split
  31. arch = x86_64
  32. [ioapic-split]
  33. file = ioapic.flat
  34. extra_params = -cpu qemu64 -machine kernel_irqchip=split
  35. arch = x86_64
  36. [apic]
  37. file = apic.flat
  38. smp = 2
  39. extra_params = -cpu qemu64,+x2apic,+tsc-deadline
  40. arch = x86_64
  41. timeout = 30
  42. [ioapic]
  43. file = ioapic.flat
  44. extra_params = -cpu qemu64
  45. arch = x86_64
  46. [smptest]
  47. file = smptest.flat
  48. smp = 2
  49. [smptest3]
  50. file = smptest.flat
  51. smp = 3
  52. [vmexit_cpuid]
  53. file = vmexit.flat
  54. extra_params = -append 'cpuid'
  55. groups = vmexit
  56. [vmexit_vmcall]
  57. file = vmexit.flat
  58. extra_params = -append 'vmcall'
  59. groups = vmexit
  60. [vmexit_mov_from_cr8]
  61. file = vmexit.flat
  62. extra_params = -append 'mov_from_cr8'
  63. groups = vmexit
  64. [vmexit_mov_to_cr8]
  65. file = vmexit.flat
  66. extra_params = -append 'mov_to_cr8'
  67. groups = vmexit
  68. [vmexit_inl_pmtimer]
  69. file = vmexit.flat
  70. extra_params = -append 'inl_from_pmtimer'
  71. groups = vmexit
  72. [vmexit_ipi]
  73. file = vmexit.flat
  74. smp = 2
  75. extra_params = -append 'ipi'
  76. groups = vmexit
  77. [vmexit_ipi_halt]
  78. file = vmexit.flat
  79. smp = 2
  80. extra_params = -append 'ipi_halt'
  81. groups = vmexit
  82. [vmexit_ple_round_robin]
  83. file = vmexit.flat
  84. extra_params = -append 'ple_round_robin'
  85. groups = vmexit
  86. [access]
  87. file = access.flat
  88. arch = x86_64
  89. [smap]
  90. file = smap.flat
  91. extra_params = -cpu host
  92. [pku]
  93. file = pku.flat
  94. arch = x86_64
  95. extra_params = -cpu host
  96. #[asyncpf]
  97. #file = asyncpf.flat
  98. [emulator]
  99. file = emulator.flat
  100. arch = x86_64
  101. [eventinj]
  102. file = eventinj.flat
  103. [hypercall]
  104. file = hypercall.flat
  105. [idt_test]
  106. file = idt_test.flat
  107. arch = x86_64
  108. #[init]
  109. #file = init.flat
  110. [msr]
  111. file = msr.flat
  112. [pmu]
  113. file = pmu.flat
  114. extra_params = -cpu host
  115. check = /proc/sys/kernel/nmi_watchdog=0
  116. [port80]
  117. file = port80.flat
  118. [realmode]
  119. file = realmode.flat
  120. [s3]
  121. file = s3.flat
  122. [sieve]
  123. file = sieve.flat
  124. [tsc]
  125. file = tsc.flat
  126. extra_params = -cpu kvm64,+rdtscp
  127. [tsc_adjust]
  128. file = tsc_adjust.flat
  129. extra_params = -cpu host
  130. [xsave]
  131. file = xsave.flat
  132. arch = x86_64
  133. extra_params = -cpu host
  134. [rmap_chain]
  135. file = rmap_chain.flat
  136. arch = x86_64
  137. [svm]
  138. file = svm.flat
  139. smp = 2
  140. extra_params = -cpu qemu64,+svm
  141. arch = x86_64
  142. [taskswitch]
  143. file = taskswitch.flat
  144. arch = i386
  145. groups = tasks
  146. [taskswitch2]
  147. file = taskswitch2.flat
  148. arch = i386
  149. groups = tasks
  150. [kvmclock_test]
  151. file = kvmclock_test.flat
  152. smp = 2
  153. extra_params = --append "10000000 `date +%s`"
  154. [pcid]
  155. file = pcid.flat
  156. extra_params = -cpu qemu64,+pcid
  157. arch = x86_64
  158. [vmx]
  159. file = vmx.flat
  160. extra_params = -cpu host,+vmx
  161. arch = x86_64
  162. [debug]
  163. file = debug.flat
  164. arch = x86_64
  165. [hyperv_synic]
  166. file = hyperv_synic.flat
  167. smp = 2
  168. extra_params = -cpu kvm64,hv_synic -device hyperv-testdev
  169. [hyperv_stimer]
  170. file = hyperv_stimer.flat
  171. smp = 2
  172. extra_params = -cpu kvm64,hv_time,hv_synic,hv_stimer -device hyperv-testdev
  173. [hyperv_clock]
  174. file = hyperv_clock.flat
  175. smp = 2
  176. extra_params = -cpu kvm64,hv_time
  177. [intel_iommu]
  178. file = intel-iommu.flat
  179. arch = x86_64
  180. timeout = 30
  181. smp = 4
  182. extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu