xref: /kvm-unit-tests/x86/unittests.cfg (revision 9a008986caac35c1120b8552eb610b7793fe613a)
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]
29file = apic.flat
30smp = 2
31extra_params = -cpu qemu64,+x2apic,+tsc-deadline
32arch = x86_64
33
34[ioapic]
35file = ioapic.flat
36extra_params = -cpu qemu64
37arch = x86_64
38
39[smptest]
40file = smptest.flat
41smp = 2
42
43[smptest3]
44file = smptest.flat
45smp = 3
46
47[vmexit_cpuid]
48file = vmexit.flat
49extra_params = -append 'cpuid'
50groups = vmexit
51
52[vmexit_vmcall]
53file = vmexit.flat
54extra_params = -append 'vmcall'
55groups = vmexit
56
57[vmexit_mov_from_cr8]
58file = vmexit.flat
59extra_params = -append 'mov_from_cr8'
60groups = vmexit
61
62[vmexit_mov_to_cr8]
63file = vmexit.flat
64extra_params = -append 'mov_to_cr8'
65groups = vmexit
66
67[vmexit_inl_pmtimer]
68file = vmexit.flat
69extra_params = -append 'inl_from_pmtimer'
70groups = vmexit
71
72[vmexit_ipi]
73file = vmexit.flat
74smp = 2
75extra_params = -append 'ipi'
76groups = vmexit
77
78[vmexit_ipi_halt]
79file = vmexit.flat
80smp = 2
81extra_params = -append 'ipi_halt'
82groups = vmexit
83
84[vmexit_ple_round_robin]
85file = vmexit.flat
86extra_params = -append 'ple_round_robin'
87groups = vmexit
88
89[access]
90file = access.flat
91arch = x86_64
92
93[smap]
94file = smap.flat
95extra_params = -cpu host
96
97[pku]
98file = pku.flat
99arch = x86_64
100extra_params = -cpu host
101
102#[asyncpf]
103#file = asyncpf.flat
104
105[emulator]
106file = emulator.flat
107arch = x86_64
108
109[eventinj]
110file = eventinj.flat
111
112[hypercall]
113file = hypercall.flat
114
115[idt_test]
116file = idt_test.flat
117arch = x86_64
118
119#[init]
120#file = init.flat
121
122[msr]
123file = msr.flat
124
125[pmu]
126file = pmu.flat
127extra_params = -cpu host
128check = /proc/sys/kernel/nmi_watchdog=0
129
130[port80]
131file = port80.flat
132
133[realmode]
134file = realmode.flat
135
136[s3]
137file = s3.flat
138
139[sieve]
140file = sieve.flat
141
142[tsc]
143file = tsc.flat
144extra_params = -cpu kvm64,+rdtscp
145
146[tsc_adjust]
147file = tsc_adjust.flat
148extra_params = -cpu host
149
150[xsave]
151file = xsave.flat
152arch = x86_64
153extra_params = -cpu host
154
155[rmap_chain]
156file = rmap_chain.flat
157arch = x86_64
158
159[svm]
160file = svm.flat
161smp = 2
162extra_params = -cpu qemu64,+svm
163arch = x86_64
164
165[taskswitch]
166file = taskswitch.flat
167arch = i386
168groups = tasks
169
170[taskswitch2]
171file = taskswitch2.flat
172arch = i386
173groups = tasks
174
175[kvmclock_test]
176file = kvmclock_test.flat
177smp = 2
178extra_params = --append "10000000 `date +%s`"
179
180[pcid]
181file = pcid.flat
182extra_params = -cpu qemu64,+pcid
183arch = x86_64
184
185[vmx]
186file = vmx.flat
187extra_params = -cpu host,+vmx
188arch = x86_64
189
190[debug]
191file = debug.flat
192arch = x86_64
193
194[hyperv_synic]
195file = hyperv_synic.flat
196smp = 2
197extra_params = -cpu kvm64,hv_synic -device hyperv-testdev
198
199[hyperv_stimer]
200file = hyperv_stimer.flat
201smp = 2
202extra_params = -cpu kvm64,hv_time,hv_synic,hv_stimer -device hyperv-testdev
203