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