xref: /kvm-unit-tests/x86/unittests.cfg (revision f3bd1e054a97c65c4be2905b3c984d250437ba29)
1# Define your new unittest following the convention:
2# [unittest_name]
3# file = foo.flat # Name of the flat file to be used
4# smp = 2 # Number of processors the VM will use during this test
5#         # Use $MAX_SMP to use the maximum the host supports.
6# extra_params = -cpu qemu64,+x2apic # Additional parameters used
7# arch = i386/x86_64 # Only if the test case works only on one of them
8# groups = group1 group2 # Used to identify test cases with run_tests -g ...
9
10[apic]
11file = apic.flat
12smp = 2
13extra_params = -cpu qemu64,+x2apic,+tsc-deadline
14arch = x86_64
15
16[ioapic]
17file = ioapic.flat
18extra_params = -cpu qemu64
19arch = x86_64
20
21[smptest]
22file = smptest.flat
23smp = 2
24
25[smptest3]
26file = smptest.flat
27smp = 3
28
29[vmexit_cpuid]
30file = vmexit.flat
31extra_params = -append 'cpuid'
32groups = vmexit
33
34[vmexit_vmcall]
35file = vmexit.flat
36extra_params = -append 'vmcall'
37groups = vmexit
38
39[vmexit_mov_from_cr8]
40file = vmexit.flat
41extra_params = -append 'mov_from_cr8'
42groups = vmexit
43
44[vmexit_mov_to_cr8]
45file = vmexit.flat
46extra_params = -append 'mov_to_cr8'
47groups = vmexit
48
49[vmexit_inl_pmtimer]
50file = vmexit.flat
51extra_params = -append 'inl_from_pmtimer'
52groups = vmexit
53
54[vmexit_ipi]
55file = vmexit.flat
56smp = 2
57extra_params = -append 'ipi'
58groups = vmexit
59
60[vmexit_ipi_halt]
61file = vmexit.flat
62smp = 2
63extra_params = -append 'ipi_halt'
64groups = vmexit
65
66[vmexit_ple_round_robin]
67file = vmexit.flat
68extra_params = -append 'ple_round_robin'
69groups = vmexit
70
71[access]
72file = access.flat
73arch = x86_64
74
75[smap]
76file = smap.flat
77extra_params = -cpu host
78
79[pku]
80file = pku.flat
81arch = x86_64
82extra_params = -cpu host
83
84#[asyncpf]
85#file = asyncpf.flat
86
87[emulator]
88file = emulator.flat
89arch = x86_64
90
91[eventinj]
92file = eventinj.flat
93
94[hypercall]
95file = hypercall.flat
96
97[idt_test]
98file = idt_test.flat
99arch = x86_64
100
101#[init]
102#file = init.flat
103
104[msr]
105file = msr.flat
106
107[pmu]
108file = pmu.flat
109extra_params = -cpu host
110check = /proc/sys/kernel/nmi_watchdog=0
111
112[port80]
113file = port80.flat
114
115[realmode]
116file = realmode.flat
117
118[s3]
119file = s3.flat
120
121[sieve]
122file = sieve.flat
123
124[tsc]
125file = tsc.flat
126extra_params = -cpu kvm64,+rdtscp
127
128[tsc_adjust]
129file = tsc_adjust.flat
130extra_params = -cpu host
131
132[xsave]
133file = xsave.flat
134arch = x86_64
135extra_params = -cpu host
136
137[rmap_chain]
138file = rmap_chain.flat
139arch = x86_64
140
141[svm]
142file = svm.flat
143smp = 2
144extra_params = -cpu qemu64,+svm
145arch = x86_64
146
147[svm-disabled]
148file = svm.flat
149smp = 2
150extra_params = -cpu qemu64,-svm
151arch = x86_64
152
153[taskswitch]
154file = taskswitch.flat
155arch = i386
156groups = tasks
157
158[taskswitch2]
159file = taskswitch2.flat
160arch = i386
161groups = tasks
162
163[kvmclock_test]
164file = kvmclock_test.flat
165smp = 2
166extra_params = --append "10000000 `date +%s`"
167
168[pcid]
169file = pcid.flat
170extra_params = -cpu qemu64,+pcid
171arch = x86_64
172
173[vmx]
174file = vmx.flat
175extra_params = -cpu host,+vmx
176arch = x86_64
177
178[debug]
179file = debug.flat
180arch = x86_64
181
182[hyperv_synic]
183file = hyperv_synic.flat
184smp = 2
185extra_params = -cpu kvm64,hv_synic -device hyperv-testdev
186
187[hyperv_stimer]
188file = hyperv_stimer.flat
189smp = 2
190extra_params = -cpu kvm64,hv_time,hv_synic,hv_stimer -device hyperv-testdev
191