xref: /kvm-unit-tests/x86/unittests.cfg (revision ebc1b903f12dab0921c055712131a54b7e37eea1)
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]
126#file = asyncpf.flat
127
128[emulator]
129file = emulator.flat
130arch = x86_64
131
132[eventinj]
133file = eventinj.flat
134
135[hypercall]
136file = hypercall.flat
137
138[idt_test]
139file = idt_test.flat
140arch = x86_64
141
142#[init]
143#file = init.flat
144
145[memory]
146file = memory.flat
147extra_params = -cpu host
148arch = x86_64
149
150[msr]
151file = msr.flat
152
153[pmu]
154file = pmu.flat
155extra_params = -cpu host
156check = /proc/sys/kernel/nmi_watchdog=0
157
158[vmware_backdoors]
159file = vmware_backdoors.flat
160extra_params = -machine vmport=on
161
162[port80]
163file = port80.flat
164
165[realmode]
166file = realmode.flat
167
168[s3]
169file = s3.flat
170
171[sieve]
172file = sieve.flat
173
174[syscall]
175file = syscall.flat
176extra_params = -cpu Opteron_G1,vendor=AuthenticAMD
177
178[tsc]
179file = tsc.flat
180extra_params = -cpu kvm64,+rdtscp
181
182[tsc_adjust]
183file = tsc_adjust.flat
184extra_params = -cpu host
185
186[xsave]
187file = xsave.flat
188arch = x86_64
189extra_params = -cpu host
190
191[rmap_chain]
192file = rmap_chain.flat
193arch = x86_64
194
195[svm]
196file = svm.flat
197smp = 2
198extra_params = -cpu qemu64,+svm
199arch = x86_64
200
201[taskswitch]
202file = taskswitch.flat
203arch = i386
204groups = tasks
205
206[taskswitch2]
207file = taskswitch2.flat
208arch = i386
209groups = tasks
210
211[kvmclock_test]
212file = kvmclock_test.flat
213smp = 2
214extra_params = --append "10000000 `date +%s`"
215
216[pcid]
217file = pcid.flat
218extra_params = -cpu qemu64,+pcid
219arch = x86_64
220
221[vmx]
222file = vmx.flat
223extra_params = -cpu host,+vmx -m 2560 -append -exit_monitor_from_l2_test
224arch = x86_64
225groups = vmx
226
227[vmx_null]
228file = vmx.flat
229extra_params = -cpu host,+vmx -append null
230arch = x86_64
231groups = vmx
232
233[vmx_test_vmx_feature_control]
234file = vmx.flat
235extra_params = -cpu host,+vmx -append test_vmx_feature_control
236arch = x86_64
237groups = vmx
238
239[vmx_test_vmxon]
240file = vmx.flat
241extra_params = -cpu host,+vmx -append test_vmxon
242arch = x86_64
243groups = vmx
244
245[vmx_test_vmptrld]
246file = vmx.flat
247extra_params = -cpu host,+vmx -append test_vmptrld
248arch = x86_64
249groups = vmx
250
251[vmx_test_vmclear]
252file = vmx.flat
253extra_params = -cpu host,+vmx -append test_vmclear
254arch = x86_64
255groups = vmx
256
257[vmx_test_vmptrst]
258file = vmx.flat
259extra_params = -cpu host,+vmx -append test_vmptrst
260arch = x86_64
261groups = vmx
262
263[vmx_test_vmwrite_vmread]
264file = vmx.flat
265extra_params = -cpu host,+vmx -append test_vmwrite_vmread
266arch = x86_64
267groups = vmx
268
269[vmx_test_vmcs_high]
270file = vmx.flat
271extra_params = -cpu host,+vmx -append test_vmcs_high
272arch = x86_64
273groups = vmx
274
275[vmx_test_vmcs_lifecycle]
276file = vmx.flat
277extra_params = -cpu host,+vmx -append test_vmcs_lifecycle
278arch = x86_64
279groups = vmx
280
281[vmx_test_vmx_caps]
282file = vmx.flat
283extra_params = -cpu host,+vmx -append test_vmx_caps
284arch = x86_64
285groups = vmx
286
287[vmx_vmenter]
288file = vmx.flat
289extra_params = -cpu host,+vmx -append vmenter
290arch = x86_64
291groups = vmx
292
293[vmx_preemption_timer]
294file = vmx.flat
295extra_params = -cpu host,+vmx -append preemption_timer
296arch = x86_64
297groups = vmx
298
299[vmx_control_field_PAT]
300file = vmx.flat
301extra_params = -cpu host,+vmx -append control_field_PAT
302arch = x86_64
303groups = vmx
304
305[vmx_control_field_EFER]
306file = vmx.flat
307extra_params = -cpu host,+vmx -append control_field_EFER
308arch = x86_64
309groups = vmx
310
311[vmx_CR_shadowing]
312file = vmx.flat
313extra_params = -cpu host,+vmx -append CR_shadowing
314arch = x86_64
315groups = vmx
316
317[vmx_IO_bitmap]
318file = vmx.flat
319extra_params = -cpu host,+vmx -append I/O_bitmap
320arch = x86_64
321groups = vmx
322
323[vmx_instruction_intercept]
324file = vmx.flat
325extra_params = -cpu host,+vmx -append instruction_intercept
326arch = x86_64
327groups = vmx
328
329[vmx_EPT_AD_enabled]
330file = vmx.flat
331extra_params = -cpu host,+vmx -append EPT_A/D_enabled
332arch = x86_64
333groups = vmx
334
335[vmx_EPT_AD_disabled]
336file = vmx.flat
337extra_params = -cpu host,+vmx -append EPT_A/D_disabled
338arch = x86_64
339groups = vmx
340
341[vmx_PML]
342file = vmx.flat
343extra_params = -cpu host,+vmx -append PML
344arch = x86_64
345groups = vmx
346
347[vmx_VPID]
348file = vmx.flat
349extra_params = -cpu host,+vmx -append VPID
350arch = x86_64
351groups = vmx
352
353[vmx_interrupt]
354file = vmx.flat
355extra_params = -cpu host,+vmx -append interrupt
356arch = x86_64
357groups = vmx
358
359[vmx_debug_controls]
360file = vmx.flat
361extra_params = -cpu host,+vmx -append debug_controls
362arch = x86_64
363groups = vmx
364
365[vmx_MSR_switch]
366file = vmx.flat
367extra_params = -cpu host,+vmx -append MSR_switch
368arch = x86_64
369groups = vmx
370
371[vmx_vmmcall]
372file = vmx.flat
373extra_params = -cpu host,+vmx -append vmmcall
374arch = x86_64
375groups = vmx
376
377[vmx_disable_RDTSCP]
378file = vmx.flat
379extra_params = -cpu host,+vmx -append disable_RDTSCP
380arch = x86_64
381groups = vmx
382
383[vmx_int3]
384file = vmx.flat
385extra_params = -cpu host,+vmx -append int3
386arch = x86_64
387groups = vmx
388
389[vmx_into]
390file = vmx.flat
391extra_params = -cpu host,+vmx -append into
392arch = x86_64
393groups = vmx
394
395[vmx_exit_monitor_from_l2_test]
396file = vmx.flat
397extra_params = -cpu host,+vmx -append exit_monitor_from_l2_test
398arch = x86_64
399groups = vmx
400
401[vmx_v2]
402file = vmx.flat
403extra_params = -cpu host,+vmx -append "v2_null_test v2_multiple_entries_test fixture_test_case1 fixture_test_case2"
404arch = x86_64
405groups = vmx
406
407[vmx_ept_access_test_not_present]
408file = vmx.flat
409extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_not_present
410arch = x86_64
411groups = vmx
412
413[vmx_ept_access_test_read_only]
414file = vmx.flat
415extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_read_only
416arch = x86_64
417groups = vmx
418
419[vmx_ept_access_test_write_only]
420file = vmx.flat
421extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_write_only
422arch = x86_64
423groups = vmx
424
425[vmx_ept_access_test_read_write]
426file = vmx.flat
427extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_read_write
428arch = x86_64
429groups = vmx
430
431[vmx_ept_access_test_execute_only]
432file = vmx.flat
433extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_execute_only
434arch = x86_64
435groups = vmx
436
437[vmx_ept_access_test_read_execute]
438file = vmx.flat
439extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_read_execute
440arch = x86_64
441groups = vmx
442
443[vmx_ept_access_test_write_execute]
444file = vmx.flat
445extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_write_execute
446arch = x86_64
447groups = vmx
448
449[vmx_ept_access_test_read_write_execute]
450file = vmx.flat
451extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_read_write_execute
452arch = x86_64
453groups = vmx
454
455[vmx_ept_access_test_reserved_bits]
456file = vmx.flat
457extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_reserved_bits
458arch = x86_64
459groups = vmx
460
461[vmx_ept_access_test_ignored_bits]
462file = vmx.flat
463extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_ignored_bits
464arch = x86_64
465groups = vmx
466
467[vmx_ept_access_test_paddr_not_present_ad_disabled]
468file = vmx.flat
469extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_paddr_not_present_ad_disabled
470arch = x86_64
471groups = vmx
472
473[vmx_ept_access_test_paddr_not_present_ad_enabled]
474file = vmx.flat
475extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_paddr_not_present_ad_enabled
476arch = x86_64
477groups = vmx
478
479[vmx_ept_access_test_paddr_read_only_ad_disabled]
480file = vmx.flat
481extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_only_ad_disabled
482arch = x86_64
483groups = vmx
484
485[vmx_ept_access_test_paddr_read_only_ad_enabled]
486file = vmx.flat
487extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_only_ad_enabled
488arch = x86_64
489groups = vmx
490
491[vmx_ept_access_test_paddr_read_write]
492file = vmx.flat
493extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_write
494arch = x86_64
495groups = vmx
496
497[vmx_ept_access_test_paddr_read_write_execute]
498file = vmx.flat
499extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_write_execute
500arch = x86_64
501groups = vmx
502
503[vmx_ept_access_test_paddr_read_execute_ad_disabled]
504file = vmx.flat
505extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_execute_ad_disabled
506arch = x86_64
507groups = vmx
508
509[vmx_ept_access_test_paddr_read_execute_ad_enabled]
510file = vmx.flat
511extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_paddr_read_execute_ad_enabled
512arch = x86_64
513groups = vmx
514
515[vmx_ept_access_test_paddr_not_present_page_fault]
516file = vmx.flat
517extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_paddr_not_present_page_fault
518arch = x86_64
519groups = vmx
520
521[vmx_ept_access_test_force_2m_page]
522file = vmx.flat
523extra_params = -cpu host,+vmx -m 2560 -append ept_access_test_force_2m_page
524arch = x86_64
525groups = vmx
526
527[vmx_invvpid]
528file = vmx.flat
529extra_params = -cpu host,+vmx -m 2560 -append invvpid_test_v2
530arch = x86_64
531groups = vmx
532
533[vmx_controls]
534file = vmx.flat
535extra_params = -cpu host,+vmx -m 2560 -append vmx_controls_test
536arch = x86_64
537groups = vmx
538
539[vmx_vmentry_movss_shadow_test]
540file = vmx.flat
541extra_params = -cpu host,+vmx -m 2560 -append vmentry_movss_shadow_test
542arch = x86_64
543groups = vmx
544
545[vmx_cr_load_test]
546file = vmx.flat
547extra_params = -cpu host,+vmx -m 2560 -append vmx_cr_load_test
548arch = x86_64
549groups = vmx
550
551[vmx_eoi_bitmap_ioapic_scan]
552file = vmx.flat
553smp = 2
554extra_params = -cpu host,+vmx -m 2048 -append vmx_eoi_bitmap_ioapic_scan_test
555arch = x86_64
556groups = vmx
557
558[vmx_apic_passthrough]
559file = vmx.flat
560smp = 2
561extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_test
562arch = x86_64
563groups = vmx
564
565[vmx_apic_passthrough_thread]
566file = vmx.flat
567smp = 2
568extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_thread_test
569arch = x86_64
570groups = vmx
571
572[debug]
573file = debug.flat
574arch = x86_64
575
576[hyperv_synic]
577file = hyperv_synic.flat
578smp = 2
579extra_params = -cpu kvm64,hv_synic -device hyperv-testdev
580groups = hyperv
581
582[hyperv_connections]
583file = hyperv_connections.flat
584smp = 2
585extra_params = -cpu kvm64,hv_synic -device hyperv-testdev
586groups = hyperv
587
588[hyperv_stimer]
589file = hyperv_stimer.flat
590smp = 2
591extra_params = -cpu kvm64,hv_time,hv_synic,hv_stimer -device hyperv-testdev
592groups = hyperv
593
594[hyperv_clock]
595file = hyperv_clock.flat
596smp = 2
597extra_params = -cpu kvm64,hv_time
598groups = hyperv
599
600[intel_iommu]
601file = intel-iommu.flat
602arch = x86_64
603timeout = 30
604smp = 4
605extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu
606