xref: /kvm-unit-tests/x86/unittests.cfg (revision 16c0b05f0586b9c66e0c6b2ce7657bf98486af27)
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[tsc]
155file = tsc.flat
156extra_params = -cpu kvm64,+rdtscp
157
158[tsc_adjust]
159file = tsc_adjust.flat
160extra_params = -cpu host
161
162[xsave]
163file = xsave.flat
164arch = x86_64
165extra_params = -cpu host
166
167[rmap_chain]
168file = rmap_chain.flat
169arch = x86_64
170
171[svm]
172file = svm.flat
173smp = 2
174extra_params = -cpu qemu64,+svm
175arch = x86_64
176
177[taskswitch]
178file = taskswitch.flat
179arch = i386
180groups = tasks
181
182[taskswitch2]
183file = taskswitch2.flat
184arch = i386
185groups = tasks
186
187[kvmclock_test]
188file = kvmclock_test.flat
189smp = 2
190extra_params = --append "10000000 `date +%s`"
191
192[pcid]
193file = pcid.flat
194extra_params = -cpu qemu64,+pcid
195arch = x86_64
196
197[vmx]
198file = vmx.flat
199extra_params = -cpu host,+vmx
200arch = x86_64
201
202[debug]
203file = debug.flat
204arch = x86_64
205
206[hyperv_synic]
207file = hyperv_synic.flat
208smp = 2
209extra_params = -cpu kvm64,hv_synic -device hyperv-testdev
210
211[hyperv_stimer]
212file = hyperv_stimer.flat
213smp = 2
214extra_params = -cpu kvm64,hv_time,hv_synic,hv_stimer -device hyperv-testdev
215
216[hyperv_clock]
217file = hyperv_clock.flat
218smp = 2
219extra_params = -cpu kvm64,hv_time
220
221[intel_iommu]
222file = intel-iommu.flat
223arch = x86_64
224timeout = 30
225smp = 4
226extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu
227