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