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