xref: /kvm-unit-tests/x86/unittests.cfg (revision a299895b7abb54e7ba6bb4108f202acbb484ac65)
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
28[apic-split]
29file = apic.flat
30smp = 2
31extra_params = -cpu qemu64,+x2apic,+tsc-deadline -machine kernel_irqchip=split
32arch = x86_64
33
34[ioapic-split]
35file = ioapic.flat
36extra_params = -cpu qemu64 -machine kernel_irqchip=split
37arch = x86_64
38
39[apic]
40file = apic.flat
41smp = 2
42extra_params = -cpu qemu64,+x2apic,+tsc-deadline
43arch = x86_64
44timeout = 30
45
46[ioapic]
47file = ioapic.flat
48smp = 4
49extra_params = -cpu qemu64
50arch = x86_64
51
52[smptest]
53file = smptest.flat
54smp = 2
55
56[smptest3]
57file = smptest.flat
58smp = 3
59
60[vmexit_cpuid]
61file = vmexit.flat
62extra_params = -append 'cpuid'
63groups = vmexit
64
65[vmexit_vmcall]
66file = vmexit.flat
67extra_params = -append 'vmcall'
68groups = vmexit
69
70[vmexit_mov_from_cr8]
71file = vmexit.flat
72extra_params = -append 'mov_from_cr8'
73groups = vmexit
74
75[vmexit_mov_to_cr8]
76file = vmexit.flat
77extra_params = -append 'mov_to_cr8'
78groups = vmexit
79
80[vmexit_inl_pmtimer]
81file = vmexit.flat
82extra_params = -append 'inl_from_pmtimer'
83groups = vmexit
84
85[vmexit_ipi]
86file = vmexit.flat
87smp = 2
88extra_params = -append 'ipi'
89groups = vmexit
90
91[vmexit_ipi_halt]
92file = vmexit.flat
93smp = 2
94extra_params = -append 'ipi_halt'
95groups = vmexit
96
97[vmexit_ple_round_robin]
98file = vmexit.flat
99extra_params = -append 'ple_round_robin'
100groups = vmexit
101
102[vmexit_tscdeadline]
103file = vmexit.flat
104groups = vmexit
105extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline
106
107[vmexit_tscdeadline_immed]
108file = vmexit.flat
109groups = vmexit
110extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed
111
112[access]
113file = access.flat
114arch = x86_64
115extra_params = -cpu host
116
117[smap]
118file = smap.flat
119extra_params = -cpu host
120
121[pku]
122file = pku.flat
123arch = x86_64
124extra_params = -cpu host
125
126[asyncpf]
127file = asyncpf.flat
128extra_params = -m 2048
129
130[emulator]
131file = emulator.flat
132arch = x86_64
133
134[eventinj]
135file = eventinj.flat
136
137[hypercall]
138file = hypercall.flat
139
140[idt_test]
141file = idt_test.flat
142arch = x86_64
143
144#[init]
145#file = init.flat
146
147[memory]
148file = memory.flat
149extra_params = -cpu host
150arch = x86_64
151
152[msr]
153file = msr.flat
154
155[pmu]
156file = pmu.flat
157extra_params = -cpu host
158check = /proc/sys/kernel/nmi_watchdog=0
159
160[vmware_backdoors]
161file = vmware_backdoors.flat
162extra_params = -machine vmport=on -cpu host
163arch = x86_64
164
165[port80]
166file = port80.flat
167
168[realmode]
169file = realmode.flat
170
171[s3]
172file = s3.flat
173
174[sieve]
175file = sieve.flat
176timeout = 180
177
178[syscall]
179file = syscall.flat
180arch = x86_64
181extra_params = -cpu Opteron_G1,vendor=AuthenticAMD
182
183[tsc]
184file = tsc.flat
185extra_params = -cpu kvm64,+rdtscp
186
187[tsc_adjust]
188file = tsc_adjust.flat
189extra_params = -cpu host
190
191[xsave]
192file = xsave.flat
193arch = x86_64
194extra_params = -cpu host
195
196[rmap_chain]
197file = rmap_chain.flat
198arch = x86_64
199
200[svm]
201file = svm.flat
202smp = 2
203extra_params = -cpu host,+svm
204arch = x86_64
205
206[taskswitch]
207file = taskswitch.flat
208arch = i386
209groups = tasks
210
211[taskswitch2]
212file = taskswitch2.flat
213arch = i386
214groups = tasks
215
216[kvmclock_test]
217file = kvmclock_test.flat
218smp = 2
219extra_params = --append "10000000 `date +%s`"
220
221[pcid]
222file = pcid.flat
223extra_params = -cpu qemu64,+pcid
224arch = x86_64
225
226[rdpru]
227file = rdpru.flat
228extra_params = -cpu host
229arch = x86_64
230
231[umip]
232file = umip.flat
233extra_params = -cpu qemu64,+umip
234
235[vmx]
236file = vmx.flat
237extra_params = -cpu host,+vmx -append "-exit_monitor_from_l2_test -ept_access* -vmx_smp* -vmx_vmcs_shadow_test -atomic_switch_overflow_msrs_test -vmx_init_signal_test -vmx_apic_passthrough_tpr_threshold_test"
238arch = x86_64
239groups = vmx
240
241[ept]
242file = vmx.flat
243extra_params = -cpu host,host-phys-bits,+vmx -m 2560 -append "ept_access*"
244arch = x86_64
245groups = vmx
246
247[vmx_eoi_bitmap_ioapic_scan]
248file = vmx.flat
249smp = 2
250extra_params = -cpu host,+vmx -m 2048 -append vmx_eoi_bitmap_ioapic_scan_test
251arch = x86_64
252groups = vmx
253
254[vmx_hlt_with_rvi_test]
255file = vmx.flat
256extra_params = -cpu host,+vmx -append vmx_hlt_with_rvi_test
257arch = x86_64
258groups = vmx
259timeout = 10
260
261[vmx_apicv_test]
262file = vmx.flat
263extra_params = -cpu host,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test"
264arch = x86_64
265groups = vmx
266timeout = 10
267
268[vmx_apic_passthrough_thread]
269file = vmx.flat
270smp = 2
271extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_thread_test
272arch = x86_64
273groups = vmx
274
275[vmx_init_signal_test]
276file = vmx.flat
277smp = 2
278extra_params = -cpu host,+vmx -m 2048 -append vmx_init_signal_test
279arch = x86_64
280groups = vmx
281timeout = 10
282
283[vmx_apic_passthrough_tpr_threshold_test]
284file = vmx.flat
285extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_tpr_threshold_test
286arch = x86_64
287groups = vmx
288timeout = 10
289
290[vmx_vmcs_shadow_test]
291file = vmx.flat
292extra_params = -cpu host,+vmx -append vmx_vmcs_shadow_test
293arch = x86_64
294groups = vmx
295
296[debug]
297file = debug.flat
298arch = x86_64
299
300[hyperv_synic]
301file = hyperv_synic.flat
302smp = 2
303extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev
304groups = hyperv
305
306[hyperv_connections]
307file = hyperv_connections.flat
308smp = 2
309extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev
310groups = hyperv
311
312[hyperv_stimer]
313file = hyperv_stimer.flat
314smp = 2
315extra_params = -cpu kvm64,hv_vpindex,hv_time,hv_synic,hv_stimer -device hyperv-testdev
316groups = hyperv
317
318[hyperv_clock]
319file = hyperv_clock.flat
320smp = 2
321extra_params = -cpu kvm64,hv_time
322arch = x86_64
323groups = hyperv
324
325[intel_iommu]
326file = intel-iommu.flat
327arch = x86_64
328timeout = 30
329smp = 4
330extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu
331
332[tsx-ctrl]
333file = tsx-ctrl.flat
334extra_params = -cpu host
335groups = tsx-ctrl
336