xref: /kvm-unit-tests/x86/unittests.cfg (revision 17fdf23ec6d9e5c213da847d59f98e8c90d3ff34)
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#[asyncpf]
80#file = asyncpf.flat
81
82[emulator]
83file = emulator.flat
84arch = x86_64
85
86[eventinj]
87file = eventinj.flat
88
89[hypercall]
90file = hypercall.flat
91
92[idt_test]
93file = idt_test.flat
94arch = x86_64
95
96#[init]
97#file = init.flat
98
99[msr]
100file = msr.flat
101
102[pmu]
103file = pmu.flat
104extra_params = -cpu host
105check = /proc/sys/kernel/nmi_watchdog=0
106
107[port80]
108file = port80.flat
109
110[realmode]
111file = realmode.flat
112
113[s3]
114file = s3.flat
115
116[sieve]
117file = sieve.flat
118
119[tsc]
120file = tsc.flat
121extra_params = -cpu kvm64,+rdtscp
122
123[tsc_adjust]
124file = tsc_adjust.flat
125extra_params = -cpu host
126
127[xsave]
128file = xsave.flat
129arch = x86_64
130extra_params = -cpu host
131
132[rmap_chain]
133file = rmap_chain.flat
134arch = x86_64
135
136[svm]
137file = svm.flat
138smp = 2
139extra_params = -cpu qemu64,+svm
140arch = x86_64
141
142[svm-disabled]
143file = svm.flat
144smp = 2
145extra_params = -cpu qemu64,-svm
146arch = x86_64
147
148[taskswitch]
149file = taskswitch.flat
150arch = i386
151groups = tasks
152
153[taskswitch2]
154file = taskswitch2.flat
155arch = i386
156groups = tasks
157
158[kvmclock_test]
159file = kvmclock_test.flat
160smp = 2
161extra_params = --append "10000000 `date +%s`"
162
163[pcid]
164file = pcid.flat
165extra_params = -cpu qemu64,+pcid
166arch = x86_64
167
168[vmx]
169file = vmx.flat
170extra_params = -cpu host,+vmx
171arch = x86_64
172
173[debug]
174file = debug.flat
175arch = x86_64
176
177[hyperv_synic]
178file = hyperv_synic.flat
179smp = 2
180extra_params = -cpu kvm64,hv_synic -device hyperv-testdev
181