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