xref: /kvm-unit-tests/s390x/unittests.cfg (revision 0b7501c3b516bde6bd3d74b17e6af76b6aa2a116)
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[firq-linear-cpu-ids-kvm]
118file = firq.elf
119timeout = 20
120extra_params = -smp 1,maxcpus=3 -device host-s390x-cpu,core-id=1 -device host-s390x-cpu,core-id=2
121accel = kvm
122
123[firq-nonlinear-cpu-ids-kvm]
124file = firq.elf
125timeout = 20
126extra_params = -smp 1,maxcpus=3 -device host-s390x-cpu,core-id=2 -device host-s390x-cpu,core-id=1
127accel = kvm
128
129[firq-linear-cpu-ids-tcg]
130file = firq.elf
131timeout = 20
132extra_params = -smp 1,maxcpus=3 -cpu qemu -device qemu-s390x-cpu,core-id=1 -device qemu-s390x-cpu,core-id=2
133accel = tcg
134
135[firq-nonlinear-cpu-ids-tcg]
136file = firq.elf
137timeout = 20
138extra_params = -smp 1,maxcpus=3 -cpu qemu -device qemu-s390x-cpu,core-id=2 -device qemu-s390x-cpu,core-id=1
139accel = tcg
140
141[sck]
142file = sck.elf
143
144[epsw]
145file = epsw.elf
146extra_params = -device virtio-net-ccw
147
148[tprot]
149file = tprot.elf
150
151[adtl-status-kvm]
152file = adtl-status.elf
153smp = 2
154accel = kvm
155extra_params = -cpu host,gs=on,vx=on
156
157[adtl-status-no-vec-no-gs-kvm]
158file = adtl-status.elf
159smp = 2
160accel = kvm
161extra_params = -cpu host,gs=off,vx=off
162
163[adtl-status-tcg]
164file = adtl-status.elf
165smp = 2
166accel = tcg
167# no guarded-storage support in tcg
168extra_params = -cpu qemu,vx=on
169
170[adtl-status-no-vec-no-gs-tcg]
171file = adtl-status.elf
172smp = 2
173accel = tcg
174extra_params = -cpu qemu,gs=off,vx=off
175
176[migration]
177file = migration.elf
178groups = migration
179smp = 2
180
181[migration-cmm]
182file = migration-cmm.elf
183groups = migration
184
185[migration-skey]
186file = migration-skey.elf
187groups = migration
188