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