xref: /kvm-unit-tests/x86/unittests.cfg (revision 1df80b5711b9339a5e3423d9b1f683dd02a0b75b)
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[access]
102file = access.flat
103arch = x86_64
104
105[smap]
106file = smap.flat
107extra_params = -cpu host
108
109[pku]
110file = pku.flat
111arch = x86_64
112extra_params = -cpu host
113
114#[asyncpf]
115#file = asyncpf.flat
116
117[emulator]
118file = emulator.flat
119arch = x86_64
120
121[eventinj]
122file = eventinj.flat
123
124[hypercall]
125file = hypercall.flat
126
127[idt_test]
128file = idt_test.flat
129arch = x86_64
130
131#[init]
132#file = init.flat
133
134[msr]
135file = msr.flat
136
137[pmu]
138file = pmu.flat
139extra_params = -cpu host
140check = /proc/sys/kernel/nmi_watchdog=0
141
142[port80]
143file = port80.flat
144
145[realmode]
146file = realmode.flat
147
148[s3]
149file = s3.flat
150
151[sieve]
152file = sieve.flat
153
154[tsc]
155file = tsc.flat
156extra_params = -cpu kvm64,+rdtscp
157
158[tsc_adjust]
159file = tsc_adjust.flat
160extra_params = -cpu host
161
162[xsave]
163file = xsave.flat
164arch = x86_64
165extra_params = -cpu host
166
167[rmap_chain]
168file = rmap_chain.flat
169arch = x86_64
170
171[svm]
172file = svm.flat
173smp = 2
174extra_params = -cpu qemu64,+svm
175arch = x86_64
176
177[taskswitch]
178file = taskswitch.flat
179arch = i386
180groups = tasks
181
182[taskswitch2]
183file = taskswitch2.flat
184arch = i386
185groups = tasks
186
187[kvmclock_test]
188file = kvmclock_test.flat
189smp = 2
190extra_params = --append "10000000 `date +%s`"
191
192[pcid]
193file = pcid.flat
194extra_params = -cpu qemu64,+pcid
195arch = x86_64
196
197[vmx]
198file = vmx.flat
199extra_params = -cpu host,+vmx -m 2048 -append -exit_monitor_from_l2_test
200arch = x86_64
201groups = vmx
202
203[vmx_null]
204file = vmx.flat
205extra_params = -cpu host,+vmx -append null
206arch = x86_64
207groups = vmx
208
209[vmx_test_vmx_feature_control]
210file = vmx.flat
211extra_params = -cpu host,+vmx -append test_vmx_feature_control
212arch = x86_64
213groups = vmx
214
215[vmx_test_vmxon]
216file = vmx.flat
217extra_params = -cpu host,+vmx -append test_vmxon
218arch = x86_64
219groups = vmx
220
221[vmx_test_vmptrld]
222file = vmx.flat
223extra_params = -cpu host,+vmx -append test_vmptrld
224arch = x86_64
225groups = vmx
226
227[vmx_test_vmclear]
228file = vmx.flat
229extra_params = -cpu host,+vmx -append test_vmclear
230arch = x86_64
231groups = vmx
232
233[vmx_test_vmptrst]
234file = vmx.flat
235extra_params = -cpu host,+vmx -append test_vmptrst
236arch = x86_64
237groups = vmx
238
239[vmx_test_vmwrite_vmread]
240file = vmx.flat
241extra_params = -cpu host,+vmx -append test_vmwrite_vmread
242arch = x86_64
243groups = vmx
244
245[vmx_test_vmcs_lifecycle]
246file = vmx.flat
247extra_params = -cpu host,+vmx -append test_vmcs_lifecycle
248arch = x86_64
249groups = vmx
250
251[vmx_test_vmx_caps]
252file = vmx.flat
253extra_params = -cpu host,+vmx -append test_vmx_caps
254arch = x86_64
255groups = vmx
256
257[vmx_vmenter]
258file = vmx.flat
259extra_params = -cpu host,+vmx -append vmenter
260arch = x86_64
261groups = vmx
262
263[vmx_preemption_timer]
264file = vmx.flat
265extra_params = -cpu host,+vmx -append preemption_timer
266arch = x86_64
267groups = vmx
268
269[vmx_control_field_PAT]
270file = vmx.flat
271extra_params = -cpu host,+vmx -append control_field_PAT
272arch = x86_64
273groups = vmx
274
275[vmx_control_field_EFER]
276file = vmx.flat
277extra_params = -cpu host,+vmx -append control_field_EFER
278arch = x86_64
279groups = vmx
280
281[vmx_CR_shadowing]
282file = vmx.flat
283extra_params = -cpu host,+vmx -append CR_shadowing
284arch = x86_64
285groups = vmx
286
287[vmx_IO_bitmap]
288file = vmx.flat
289extra_params = -cpu host,+vmx -append I/O_bitmap
290arch = x86_64
291groups = vmx
292
293[vmx_instruction_intercept]
294file = vmx.flat
295extra_params = -cpu host,+vmx -append instruction_intercept
296arch = x86_64
297groups = vmx
298
299[vmx_EPT_AD_enabled]
300file = vmx.flat
301extra_params = -cpu host,+vmx -append EPT_A/D_enabled
302arch = x86_64
303groups = vmx
304
305[vmx_EPT_AD_disabled]
306file = vmx.flat
307extra_params = -cpu host,+vmx -append EPT_A/D_disabled
308arch = x86_64
309groups = vmx
310
311[vmx_VPID]
312file = vmx.flat
313extra_params = -cpu host,+vmx -append VPID
314arch = x86_64
315groups = vmx
316
317[vmx_interrupt]
318file = vmx.flat
319extra_params = -cpu host,+vmx -append interrupt
320arch = x86_64
321groups = vmx
322
323[vmx_debug_controls]
324file = vmx.flat
325extra_params = -cpu host,+vmx -append debug_controls
326arch = x86_64
327groups = vmx
328
329[vmx_MSR_switch]
330file = vmx.flat
331extra_params = -cpu host,+vmx -append MSR_switch
332arch = x86_64
333groups = vmx
334
335[vmx_vmmcall]
336file = vmx.flat
337extra_params = -cpu host,+vmx -append vmmcall
338arch = x86_64
339groups = vmx
340
341[vmx_disable_RDTSCP]
342file = vmx.flat
343extra_params = -cpu host,+vmx -append disable_RDTSCP
344arch = x86_64
345groups = vmx
346
347[vmx_int3]
348file = vmx.flat
349extra_params = -cpu host,+vmx -append int3
350arch = x86_64
351groups = vmx
352
353[vmx_into]
354file = vmx.flat
355extra_params = -cpu host,+vmx -append into
356arch = x86_64
357groups = vmx
358
359[vmx_exit_monitor_from_l2_test]
360file = vmx.flat
361extra_params = -cpu host,+vmx -append exit_monitor_from_l2_test
362arch = x86_64
363groups = vmx
364
365[vmx_v2]
366file = vmx.flat
367extra_params = -cpu host,+vmx -append "v2_null_test v2_multiple_entries_test fixture_test_case1 fixture_test_case2"
368arch = x86_64
369groups = vmx
370
371[debug]
372file = debug.flat
373arch = x86_64
374
375[hyperv_synic]
376file = hyperv_synic.flat
377smp = 2
378extra_params = -cpu kvm64,hv_synic -device hyperv-testdev
379
380[hyperv_stimer]
381file = hyperv_stimer.flat
382smp = 2
383extra_params = -cpu kvm64,hv_time,hv_synic,hv_stimer -device hyperv-testdev
384
385[hyperv_clock]
386file = hyperv_clock.flat
387smp = 2
388extra_params = -cpu kvm64,hv_time
389
390[intel_iommu]
391file = intel-iommu.flat
392arch = x86_64
393timeout = 30
394smp = 4
395extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu
396