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 max 120timeout = 180 121 122[access-reduced-maxphyaddr] 123file = access.flat 124arch = x86_64 125extra_params = -cpu IvyBridge,phys-bits=36,host-phys-bits=off 126timeout = 180 127check = /sys/module/kvm_intel/parameters/allow_smaller_maxphyaddr=Y 128 129[smap] 130file = smap.flat 131extra_params = -cpu host 132 133[pku] 134file = pku.flat 135arch = x86_64 136extra_params = -cpu host 137 138[asyncpf] 139file = asyncpf.flat 140extra_params = -m 2048 141 142[emulator] 143file = emulator.flat 144arch = x86_64 145 146[eventinj] 147file = eventinj.flat 148 149[hypercall] 150file = hypercall.flat 151 152[idt_test] 153file = idt_test.flat 154arch = x86_64 155 156#[init] 157#file = init.flat 158 159[memory] 160file = memory.flat 161extra_params = -cpu host 162arch = x86_64 163 164[msr] 165file = msr.flat 166 167[pmu] 168file = pmu.flat 169extra_params = -cpu host 170check = /proc/sys/kernel/nmi_watchdog=0 171 172[vmware_backdoors] 173file = vmware_backdoors.flat 174extra_params = -machine vmport=on -cpu host 175check = /sys/module/kvm/parameters/enable_vmware_backdoor=Y 176arch = x86_64 177 178[port80] 179file = port80.flat 180 181[realmode] 182file = realmode.flat 183 184[s3] 185file = s3.flat 186 187[setjmp] 188file = setjmp.flat 189 190[sieve] 191file = sieve.flat 192timeout = 180 193 194[syscall] 195file = syscall.flat 196arch = x86_64 197extra_params = -cpu Opteron_G1,vendor=AuthenticAMD 198 199[tsc] 200file = tsc.flat 201extra_params = -cpu kvm64,+rdtscp 202 203[tsc_adjust] 204file = tsc_adjust.flat 205extra_params = -cpu host 206 207[xsave] 208file = xsave.flat 209arch = x86_64 210extra_params = -cpu host 211 212[rmap_chain] 213file = rmap_chain.flat 214arch = x86_64 215 216[svm] 217file = svm.flat 218smp = 2 219extra_params = -cpu host,+svm 220arch = x86_64 221 222[taskswitch] 223file = taskswitch.flat 224arch = i386 225groups = tasks 226 227[taskswitch2] 228file = taskswitch2.flat 229arch = i386 230groups = tasks 231 232[kvmclock_test] 233file = kvmclock_test.flat 234smp = 2 235extra_params = --append "10000000 `date +%s`" 236 237[pcid] 238file = pcid.flat 239extra_params = -cpu qemu64,+pcid,+invpcid 240arch = x86_64 241 242[pcid-disabled] 243file = pcid.flat 244extra_params = -cpu qemu64,-pcid,-invpcid 245arch = x86_64 246 247[rdpru] 248file = rdpru.flat 249extra_params = -cpu host 250arch = x86_64 251 252[umip] 253file = umip.flat 254extra_params = -cpu qemu64,+umip 255 256[vmx] 257file = vmx.flat 258extra_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" 259arch = x86_64 260groups = vmx 261 262[ept] 263file = vmx.flat 264extra_params = -cpu host,host-phys-bits,+vmx -m 2560 -append "ept_access*" 265arch = x86_64 266groups = vmx 267 268[vmx_eoi_bitmap_ioapic_scan] 269file = vmx.flat 270smp = 2 271extra_params = -cpu host,+vmx -m 2048 -append vmx_eoi_bitmap_ioapic_scan_test 272arch = x86_64 273groups = vmx 274 275[vmx_hlt_with_rvi_test] 276file = vmx.flat 277extra_params = -cpu host,+vmx -append vmx_hlt_with_rvi_test 278arch = x86_64 279groups = vmx 280timeout = 10 281 282[vmx_apicv_test] 283file = vmx.flat 284extra_params = -cpu host,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test" 285arch = x86_64 286groups = vmx 287timeout = 10 288 289[vmx_apic_passthrough_thread] 290file = vmx.flat 291smp = 2 292extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_thread_test 293arch = x86_64 294groups = vmx 295 296[vmx_init_signal_test] 297file = vmx.flat 298smp = 2 299extra_params = -cpu host,+vmx -m 2048 -append vmx_init_signal_test 300arch = x86_64 301groups = vmx 302timeout = 10 303 304[vmx_apic_passthrough_tpr_threshold_test] 305file = vmx.flat 306extra_params = -cpu host,+vmx -m 2048 -append vmx_apic_passthrough_tpr_threshold_test 307arch = x86_64 308groups = vmx 309timeout = 10 310 311[vmx_vmcs_shadow_test] 312file = vmx.flat 313extra_params = -cpu host,+vmx -append vmx_vmcs_shadow_test 314arch = x86_64 315groups = vmx 316 317[debug] 318file = debug.flat 319arch = x86_64 320 321[hyperv_synic] 322file = hyperv_synic.flat 323smp = 2 324extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev 325groups = hyperv 326 327[hyperv_connections] 328file = hyperv_connections.flat 329smp = 2 330extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev 331groups = hyperv 332 333[hyperv_stimer] 334file = hyperv_stimer.flat 335smp = 2 336extra_params = -cpu kvm64,hv_vpindex,hv_time,hv_synic,hv_stimer -device hyperv-testdev 337groups = hyperv 338 339[hyperv_clock] 340file = hyperv_clock.flat 341smp = 2 342extra_params = -cpu kvm64,hv_time 343arch = x86_64 344groups = hyperv 345check = /sys/devices/system/clocksource/clocksource0/current_clocksource=tsc 346 347[intel_iommu] 348file = intel-iommu.flat 349arch = x86_64 350timeout = 30 351smp = 4 352extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu 353 354[tsx-ctrl] 355file = tsx-ctrl.flat 356extra_params = -cpu host 357groups = tsx-ctrl 358