xref: /kvm-unit-tests/s390x/unittests.cfg (revision b36f35a82ff4cec5f71a68aa782332e2bc3488f7)
1##############################################################################
2# unittest configuration
3#
4# [unittest_name]
5# file = <name>.elf		# Name of the elf file to be used.
6# extra_params = -append <params...>	# Additional parameters used.
7# groups = <group_name1> <group_name2> ... # Used to identify test cases
8#					   # with run_tests -g ...
9#					   # Specify group_name=nodefault
10#					   # to have test not run by default
11# accel = kvm|tcg		# Optionally specify if test must run with
12#				# kvm or tcg. If not specified, then kvm will
13#				# be used when available.
14# timeout = <duration>		# Optionally specify a timeout.
15# check = <path>=<value> # check a file for a particular value before running
16#			 # a test. The check line can contain multiple files
17#			 # to check separated by a space but each check
18#			 # parameter needs to be of the form <path>=<value>
19##############################################################################
20
21[selftest-setup]
22file = selftest.elf
23groups = selftest
24# please keep the kernel cmdline in sync with $(TEST_DIR)/selftest.parmfile
25extra_params = -append 'test 123'
26
27[intercept]
28file = intercept.elf
29
30[emulator]
31file = emulator.elf
32
33[sieve]
34file = sieve.elf
35groups = selftest
36# can take fairly long when KVM is nested inside z/VM
37timeout = 600
38
39[sthyi]
40file = sthyi.elf
41
42[skey]
43file = skey.elf
44extra_params = -device virtio-net-ccw
45
46[diag10]
47file = diag10.elf
48
49[diag308]
50file = diag308.elf
51
52[pfmf]
53file = pfmf.elf
54
55[cmm]
56file = cmm.elf
57
58[vector]
59file = vector.elf
60
61[gs]
62file = gs.elf
63
64[iep]
65file = iep.elf
66
67[cpumodel]
68file = cpumodel.elf
69
70[diag288]
71file = diag288.elf
72extra_params=-device diag288,id=watchdog0 --watchdog-action inject-nmi
73
74[stsi]
75file = stsi.elf
76extra_params=-name kvm-unit-test --uuid 0fb84a86-727c-11ea-bc55-0242ac130003 -smp 1,maxcpus=8
77
78[smp]
79file = smp.elf
80smp = 2
81
82[sclp-1g]
83file = sclp.elf
84extra_params = -m 1G
85
86[sclp-3g]
87file = sclp.elf
88extra_params = -m 3G
89
90[css]
91file = css.elf
92extra_params = -device virtio-net-ccw
93
94[skrf]
95file = skrf.elf
96smp = 2
97
98[uv-guest]
99file = uv-guest.elf
100
101[sie]
102file = sie.elf
103
104[mvpg]
105file = mvpg.elf
106timeout = 10
107
108[edat]
109file = edat.elf
110
111[mvpg-sie]
112file = mvpg-sie.elf
113
114[spec_ex-sie]
115file = spec_ex-sie.elf
116
117[spec_ex]
118file = spec_ex.elf
119
120[firq-linear-cpu-ids-kvm]
121file = firq.elf
122timeout = 20
123extra_params = -smp 1,maxcpus=3 -device host-s390x-cpu,core-id=1 -device host-s390x-cpu,core-id=2
124accel = kvm
125
126[firq-nonlinear-cpu-ids-kvm]
127file = firq.elf
128timeout = 20
129extra_params = -smp 1,maxcpus=3 -device host-s390x-cpu,core-id=2 -device host-s390x-cpu,core-id=1
130accel = kvm
131
132[firq-linear-cpu-ids-tcg]
133file = firq.elf
134timeout = 20
135extra_params = -smp 1,maxcpus=3 -cpu qemu -device qemu-s390x-cpu,core-id=1 -device qemu-s390x-cpu,core-id=2
136accel = tcg
137
138[firq-nonlinear-cpu-ids-tcg]
139file = firq.elf
140timeout = 20
141extra_params = -smp 1,maxcpus=3 -cpu qemu -device qemu-s390x-cpu,core-id=2 -device qemu-s390x-cpu,core-id=1
142accel = tcg
143
144[sck]
145file = sck.elf
146
147[epsw]
148file = epsw.elf
149extra_params = -device virtio-net-ccw
150
151[tprot]
152file = tprot.elf
153
154[adtl-status-kvm]
155file = adtl-status.elf
156smp = 2
157accel = kvm
158extra_params = -cpu host,gs=on,vx=on
159
160[adtl-status-no-vec-no-gs-kvm]
161file = adtl-status.elf
162smp = 2
163accel = kvm
164extra_params = -cpu host,gs=off,vx=off
165
166[adtl-status-tcg]
167file = adtl-status.elf
168smp = 2
169accel = tcg
170# no guarded-storage support in tcg
171extra_params = -cpu qemu,vx=on
172
173[adtl-status-no-vec-no-gs-tcg]
174file = adtl-status.elf
175smp = 2
176accel = tcg
177extra_params = -cpu qemu,gs=off,vx=off
178
179[migration]
180file = migration.elf
181groups = migration
182smp = 2
183
184[migration-cmm]
185file = migration-cmm.elf
186groups = migration
187
188[panic-loop-extint]
189file = panic-loop-extint.elf
190groups = panic
191accel = kvm
192timeout = 5
193
194[panic-loop-pgm]
195file = panic-loop-pgm.elf
196groups = panic
197accel = kvm
198timeout = 5
199
200[migration-sck]
201file = migration-sck.elf
202groups = migration
203
204[exittime]
205file = exittime.elf
206smp = 2
207
208[migration-skey-sequential]
209file = migration-skey.elf
210groups = migration
211extra_params = -append '--sequential'
212
213[migration-skey-parallel]
214file = migration-skey.elf
215smp = 2
216groups = migration
217extra_params = -append '--parallel'
218