xref: /kvm-unit-tests/powerpc/unittests.cfg (revision fa8914bccc226db86bd70d71bfd6022db252fc78)
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 = ppc64				# 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#
29# Test that the configured number of processors (smp = <num>), and
30# that the configured amount of memory (-m <MB>) are correctly setup
31# by the framework.
32#
33[selftest-setup]
34file = selftest.elf
35smp = 2
36extra_params = -m 256 -append 'setup smp=2 mem=256'
37groups = selftest
38
39[selftest-migration]
40file = selftest-migration.elf
41groups = selftest migration
42# TODO: Remove accel=kvm once the following TCG migration fix has been merged:
43# https://lore.kernel.org/qemu-devel/20240219061731.232570-1-npiggin@gmail.com/
44accel = kvm
45
46[selftest-migration-skip]
47file = selftest-migration.elf
48machine = pseries
49groups = selftest migration
50extra_params = -append "skip"
51
52[spapr_hcall]
53file = spapr_hcall.elf
54
55[spapr_vpa]
56file = spapr_vpa.elf
57
58[rtas-get-time-of-day]
59file = rtas.elf
60timeout = 5
61extra_params = -append "get-time-of-day date=$(date +%s)"
62groups = rtas
63
64[rtas-get-time-of-day-base]
65file = rtas.elf
66timeout = 5
67extra_params = -rtc base="2006-06-17" -append "get-time-of-day date=$(date --date="2006-06-17 UTC" +%s)"
68groups = rtas
69
70[rtas-set-time-of-day]
71file = rtas.elf
72extra_params = -append "set-time-of-day"
73timeout = 5
74groups = rtas
75
76[emulator]
77file = emulator.elf
78
79[h_cede_tm]
80file = tm.elf
81accel = kvm
82smp = 2,threads=2
83extra_params = -machine cap-htm=on -append "h_cede_tm"
84groups = h_cede_tm
85
86[sprs]
87file = sprs.elf
88
89[sprs-migration]
90file = sprs.elf
91extra_params = -append '-w'
92groups = migration
93