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