xref: /kvm-unit-tests/x86/unittests.cfg (revision 6ca8c283190847bd2ff648232f98f70e4e6d3d0d)
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 -cpu host
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 -append "-exit_monitor_from_l2_test -ept_access* -vmx_smp* -vmx_vmcs_shadow_test"
230arch = x86_64
231groups = vmx
232
233[ept]
234file = vmx.flat
235extra_params = -cpu host,host-phys-bits,+vmx -m 2560 -append "ept_access*"
236arch = x86_64
237groups = vmx
238
239[vmx_eoi_bitmap_ioapic_scan]
240file = vmx.flat
241smp = 2
242extra_params = -cpu host,+vmx -m 2048 -append vmx_eoi_bitmap_ioapic_scan_test
243arch = x86_64
244groups = vmx
245
246[vmx_hlt_with_rvi_test]
247file = vmx.flat
248extra_params = -cpu host,+vmx -append vmx_hlt_with_rvi_test
249arch = x86_64
250groups = vmx
251timeout = 10
252
253[vmx_apicv_test]
254file = vmx.flat
255extra_params = -cpu host,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test"
256arch = x86_64
257groups = vmx
258timeout = 10
259
260[vmx_apic_passthrough_thread]
261file = vmx.flat
262smp = 2
263extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_thread_test
264arch = x86_64
265groups = vmx
266
267[vmx_vmcs_shadow_test]
268file = vmx.flat
269extra_params = -cpu host,+vmx -append vmx_vmcs_shadow_test
270arch = x86_64
271groups = vmx
272
273[debug]
274file = debug.flat
275arch = x86_64
276
277[hyperv_synic]
278file = hyperv_synic.flat
279smp = 2
280extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev
281groups = hyperv
282
283[hyperv_connections]
284file = hyperv_connections.flat
285smp = 2
286extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev
287groups = hyperv
288
289[hyperv_stimer]
290file = hyperv_stimer.flat
291smp = 2
292extra_params = -cpu kvm64,hv_vpindex,hv_time,hv_synic,hv_stimer -device hyperv-testdev
293groups = hyperv
294
295[hyperv_clock]
296file = hyperv_clock.flat
297smp = 2
298extra_params = -cpu kvm64,hv_time
299arch = x86_64
300groups = hyperv
301
302[intel_iommu]
303file = intel-iommu.flat
304arch = x86_64
305timeout = 30
306smp = 4
307extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu
308