xref: /kvm-unit-tests/x86/unittests.cfg (revision d31f6adb16fc88c51fa43a70a82eae79946f394d)
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_PML]
312file = vmx.flat
313extra_params = -cpu host,+vmx -append PML
314arch = x86_64
315groups = vmx
316
317[vmx_VPID]
318file = vmx.flat
319extra_params = -cpu host,+vmx -append VPID
320arch = x86_64
321groups = vmx
322
323[vmx_interrupt]
324file = vmx.flat
325extra_params = -cpu host,+vmx -append interrupt
326arch = x86_64
327groups = vmx
328
329[vmx_debug_controls]
330file = vmx.flat
331extra_params = -cpu host,+vmx -append debug_controls
332arch = x86_64
333groups = vmx
334
335[vmx_MSR_switch]
336file = vmx.flat
337extra_params = -cpu host,+vmx -append MSR_switch
338arch = x86_64
339groups = vmx
340
341[vmx_vmmcall]
342file = vmx.flat
343extra_params = -cpu host,+vmx -append vmmcall
344arch = x86_64
345groups = vmx
346
347[vmx_disable_RDTSCP]
348file = vmx.flat
349extra_params = -cpu host,+vmx -append disable_RDTSCP
350arch = x86_64
351groups = vmx
352
353[vmx_int3]
354file = vmx.flat
355extra_params = -cpu host,+vmx -append int3
356arch = x86_64
357groups = vmx
358
359[vmx_into]
360file = vmx.flat
361extra_params = -cpu host,+vmx -append into
362arch = x86_64
363groups = vmx
364
365[vmx_exit_monitor_from_l2_test]
366file = vmx.flat
367extra_params = -cpu host,+vmx -append exit_monitor_from_l2_test
368arch = x86_64
369groups = vmx
370
371[vmx_v2]
372file = vmx.flat
373extra_params = -cpu host,+vmx -append "v2_null_test v2_multiple_entries_test fixture_test_case1 fixture_test_case2"
374arch = x86_64
375groups = vmx
376
377[vmx_ept_access_test_not_present]
378file = vmx.flat
379extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_not_present
380arch = x86_64
381groups = vmx
382
383[vmx_ept_access_test_read_only]
384file = vmx.flat
385extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_read_only
386arch = x86_64
387groups = vmx
388
389[vmx_ept_access_test_write_only]
390file = vmx.flat
391extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_write_only
392arch = x86_64
393groups = vmx
394
395[vmx_ept_access_test_read_write]
396file = vmx.flat
397extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_read_write
398arch = x86_64
399groups = vmx
400
401[vmx_ept_access_test_execute_only]
402file = vmx.flat
403extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_execute_only
404arch = x86_64
405groups = vmx
406
407[vmx_ept_access_test_read_execute]
408file = vmx.flat
409extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_read_execute
410arch = x86_64
411groups = vmx
412
413[vmx_ept_access_test_write_execute]
414file = vmx.flat
415extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_write_execute
416arch = x86_64
417groups = vmx
418
419[vmx_ept_access_test_read_write_execute]
420file = vmx.flat
421extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_read_write_execute
422arch = x86_64
423groups = vmx
424
425[vmx_ept_access_test_reserved_bits]
426file = vmx.flat
427extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_reserved_bits
428arch = x86_64
429groups = vmx
430
431[vmx_ept_access_test_ignored_bits]
432file = vmx.flat
433extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_ignored_bits
434arch = x86_64
435groups = vmx
436
437[vmx_ept_access_test_paddr_not_present_ad_disabled]
438file = vmx.flat
439extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_paddr_not_present_ad_disabled
440arch = x86_64
441groups = vmx
442
443[vmx_ept_access_test_paddr_not_present_ad_enabled]
444file = vmx.flat
445extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_paddr_not_present_ad_enabled
446arch = x86_64
447groups = vmx
448
449[vmx_ept_access_test_paddr_read_only_ad_disabled]
450file = vmx.flat
451extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_paddr_read_only_ad_disabled
452arch = x86_64
453groups = vmx
454
455[vmx_ept_access_test_paddr_read_only_ad_enabled]
456file = vmx.flat
457extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_paddr_read_only_ad_enabled
458arch = x86_64
459groups = vmx
460
461[vmx_ept_access_test_paddr_read_write]
462file = vmx.flat
463extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_paddr_read_write
464arch = x86_64
465groups = vmx
466
467[vmx_ept_access_test_paddr_read_write_execute]
468file = vmx.flat
469extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_paddr_read_write_execute
470arch = x86_64
471groups = vmx
472
473[vmx_ept_access_test_paddr_read_execute_ad_disabled]
474file = vmx.flat
475extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_paddr_read_execute_ad_disabled
476arch = x86_64
477groups = vmx
478
479[vmx_ept_access_test_paddr_read_execute_ad_enabled]
480file = vmx.flat
481extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_paddr_read_execute_ad_enabled
482arch = x86_64
483groups = vmx
484
485[vmx_ept_access_test_paddr_not_present_page_fault]
486file = vmx.flat
487extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_paddr_not_present_page_fault
488arch = x86_64
489groups = vmx
490
491[vmx_ept_access_test_force_2m_page]
492file = vmx.flat
493extra_params = -cpu host,+vmx -m 2048 -append ept_access_test_force_2m_page
494arch = x86_64
495groups = vmx
496
497[debug]
498file = debug.flat
499arch = x86_64
500
501[hyperv_synic]
502file = hyperv_synic.flat
503smp = 2
504extra_params = -cpu kvm64,hv_synic -device hyperv-testdev
505
506[hyperv_stimer]
507file = hyperv_stimer.flat
508smp = 2
509extra_params = -cpu kvm64,hv_time,hv_synic,hv_stimer -device hyperv-testdev
510
511[hyperv_clock]
512file = hyperv_clock.flat
513smp = 2
514extra_params = -cpu kvm64,hv_time
515
516[intel_iommu]
517file = intel-iommu.flat
518arch = x86_64
519timeout = 30
520smp = 4
521extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu
522