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 = i386|x86_64 # 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[apic-split] 29file = apic.flat 30smp = 2 31extra_params = -cpu qemu64,+x2apic,+tsc-deadline -machine kernel_irqchip=split 32arch = x86_64 33 34[ioapic-split] 35file = ioapic.flat 36extra_params = -cpu qemu64 -machine kernel_irqchip=split 37arch = x86_64 38 39[apic] 40file = apic.flat 41smp = 2 42extra_params = -cpu qemu64,+x2apic,+tsc-deadline 43arch = x86_64 44timeout = 30 45 46[ioapic] 47file = ioapic.flat 48smp = 4 49extra_params = -cpu qemu64,+x2apic 50arch = x86_64 51 52[cmpxchg8b] 53file = cmpxchg8b.flat 54arch = i386 55 56[smptest] 57file = smptest.flat 58smp = 2 59 60[smptest3] 61file = smptest.flat 62smp = 3 63 64[vmexit_cpuid] 65file = vmexit.flat 66extra_params = -append 'cpuid' 67groups = vmexit 68 69[vmexit_vmcall] 70file = vmexit.flat 71extra_params = -append 'vmcall' 72groups = vmexit 73 74[vmexit_mov_from_cr8] 75file = vmexit.flat 76extra_params = -append 'mov_from_cr8' 77groups = vmexit 78 79[vmexit_mov_to_cr8] 80file = vmexit.flat 81extra_params = -append 'mov_to_cr8' 82groups = vmexit 83 84[vmexit_inl_pmtimer] 85file = vmexit.flat 86extra_params = -append 'inl_from_pmtimer' 87groups = vmexit 88 89[vmexit_ipi] 90file = vmexit.flat 91smp = 2 92extra_params = -append 'ipi' 93groups = vmexit 94 95[vmexit_ipi_halt] 96file = vmexit.flat 97smp = 2 98extra_params = -append 'ipi_halt' 99groups = vmexit 100 101[vmexit_ple_round_robin] 102file = vmexit.flat 103extra_params = -append 'ple_round_robin' 104groups = vmexit 105 106[vmexit_tscdeadline] 107file = vmexit.flat 108groups = vmexit 109extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline 110 111[vmexit_tscdeadline_immed] 112file = vmexit.flat 113groups = vmexit 114extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed 115 116[access] 117file = access.flat 118arch = x86_64 119extra_params = -cpu host,phys-bits=36 120 121[smap] 122file = smap.flat 123extra_params = -cpu host 124 125[pku] 126file = pku.flat 127arch = x86_64 128extra_params = -cpu host 129 130[asyncpf] 131file = asyncpf.flat 132extra_params = -m 2048 133 134[emulator] 135file = emulator.flat 136arch = x86_64 137 138[eventinj] 139file = eventinj.flat 140 141[hypercall] 142file = hypercall.flat 143 144[idt_test] 145file = idt_test.flat 146arch = x86_64 147 148#[init] 149#file = init.flat 150 151[memory] 152file = memory.flat 153extra_params = -cpu host 154arch = x86_64 155 156[msr] 157file = msr.flat 158 159[pmu] 160file = pmu.flat 161extra_params = -cpu host 162check = /proc/sys/kernel/nmi_watchdog=0 163 164[vmware_backdoors] 165file = vmware_backdoors.flat 166extra_params = -machine vmport=on -cpu host 167check = /sys/module/kvm/parameters/enable_vmware_backdoor=Y 168arch = x86_64 169 170[port80] 171file = port80.flat 172 173[realmode] 174file = realmode.flat 175 176[s3] 177file = s3.flat 178 179[setjmp] 180file = setjmp.flat 181 182[sieve] 183file = sieve.flat 184timeout = 180 185 186[syscall] 187file = syscall.flat 188arch = x86_64 189extra_params = -cpu Opteron_G1,vendor=AuthenticAMD 190 191[tsc] 192file = tsc.flat 193extra_params = -cpu kvm64,+rdtscp 194 195[tsc_adjust] 196file = tsc_adjust.flat 197extra_params = -cpu host 198 199[xsave] 200file = xsave.flat 201arch = x86_64 202extra_params = -cpu host 203 204[rmap_chain] 205file = rmap_chain.flat 206arch = x86_64 207 208[svm] 209file = svm.flat 210smp = 2 211extra_params = -cpu host,+svm 212arch = x86_64 213 214[taskswitch] 215file = taskswitch.flat 216arch = i386 217groups = tasks 218 219[taskswitch2] 220file = taskswitch2.flat 221arch = i386 222groups = tasks 223 224[kvmclock_test] 225file = kvmclock_test.flat 226smp = 2 227extra_params = --append "10000000 `date +%s`" 228 229[pcid] 230file = pcid.flat 231extra_params = -cpu qemu64,+pcid,+invpcid 232arch = x86_64 233 234[pcid-disabled] 235file = pcid.flat 236extra_params = -cpu qemu64,-pcid,-invpcid 237arch = x86_64 238 239[rdpru] 240file = rdpru.flat 241extra_params = -cpu host 242arch = x86_64 243 244[umip] 245file = umip.flat 246extra_params = -cpu qemu64,+umip 247 248[vmx] 249file = vmx.flat 250extra_params = -cpu host,+vmx -append "-exit_monitor_from_l2_test -ept_access* -vmx_smp* -vmx_vmcs_shadow_test -atomic_switch_overflow_msrs_test -vmx_init_signal_test -vmx_apic_passthrough_tpr_threshold_test" 251arch = x86_64 252groups = vmx 253 254[ept] 255file = vmx.flat 256extra_params = -cpu host,host-phys-bits,+vmx -m 2560 -append "ept_access*" 257arch = x86_64 258groups = vmx 259 260[vmx_eoi_bitmap_ioapic_scan] 261file = vmx.flat 262smp = 2 263extra_params = -cpu host,+vmx -m 2048 -append vmx_eoi_bitmap_ioapic_scan_test 264arch = x86_64 265groups = vmx 266 267[vmx_hlt_with_rvi_test] 268file = vmx.flat 269extra_params = -cpu host,+vmx -append vmx_hlt_with_rvi_test 270arch = x86_64 271groups = vmx 272timeout = 10 273 274[vmx_apicv_test] 275file = vmx.flat 276extra_params = -cpu host,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test" 277arch = x86_64 278groups = vmx 279timeout = 10 280 281[vmx_apic_passthrough_thread] 282file = vmx.flat 283smp = 2 284extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_thread_test 285arch = x86_64 286groups = vmx 287 288[vmx_init_signal_test] 289file = vmx.flat 290smp = 2 291extra_params = -cpu host,+vmx -m 2048 -append vmx_init_signal_test 292arch = x86_64 293groups = vmx 294timeout = 10 295 296[vmx_apic_passthrough_tpr_threshold_test] 297file = vmx.flat 298extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_tpr_threshold_test 299arch = x86_64 300groups = vmx 301timeout = 10 302 303[vmx_vmcs_shadow_test] 304file = vmx.flat 305extra_params = -cpu host,+vmx -append vmx_vmcs_shadow_test 306arch = x86_64 307groups = vmx 308 309[debug] 310file = debug.flat 311arch = x86_64 312 313[hyperv_synic] 314file = hyperv_synic.flat 315smp = 2 316extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev 317groups = hyperv 318 319[hyperv_connections] 320file = hyperv_connections.flat 321smp = 2 322extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev 323groups = hyperv 324 325[hyperv_stimer] 326file = hyperv_stimer.flat 327smp = 2 328extra_params = -cpu kvm64,hv_vpindex,hv_time,hv_synic,hv_stimer -device hyperv-testdev 329groups = hyperv 330 331[hyperv_clock] 332file = hyperv_clock.flat 333smp = 2 334extra_params = -cpu kvm64,hv_time 335arch = x86_64 336groups = hyperv 337 338[intel_iommu] 339file = intel-iommu.flat 340arch = x86_64 341timeout = 30 342smp = 4 343extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu 344 345[tsx-ctrl] 346file = tsx-ctrl.flat 347extra_params = -cpu host 348groups = tsx-ctrl 349