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