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