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