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[vmexit_cr0_wp] 117file = vmexit.flat 118smp = 2 119extra_params = -append 'toggle_cr0_wp' 120groups = vmexit 121 122[vmexit_cr4_pge] 123file = vmexit.flat 124smp = 2 125extra_params = -append 'toggle_cr4_pge' 126groups = vmexit 127 128[access] 129file = access_test.flat 130arch = x86_64 131extra_params = -cpu max 132 133[access-reduced-maxphyaddr] 134file = access_test.flat 135arch = x86_64 136extra_params = -cpu IvyBridge,phys-bits=36,host-phys-bits=off 137check = /sys/module/kvm_intel/parameters/allow_smaller_maxphyaddr=Y 138 139[smap] 140file = smap.flat 141extra_params = -cpu max 142 143[pku] 144file = pku.flat 145arch = x86_64 146extra_params = -cpu max 147 148[pks] 149file = pks.flat 150arch = x86_64 151extra_params = -cpu max 152 153[asyncpf] 154file = asyncpf.flat 155extra_params = -m 2048 156 157[emulator] 158file = emulator.flat 159arch = x86_64 160 161[eventinj] 162file = eventinj.flat 163 164[hypercall] 165file = hypercall.flat 166 167[idt_test] 168file = idt_test.flat 169arch = x86_64 170 171#[init] 172#file = init.flat 173 174[memory] 175file = memory.flat 176extra_params = -cpu max 177arch = x86_64 178 179[msr] 180# Use GenuineIntel to ensure SYSENTER MSRs are fully preserved, and to test 181# SVM emulation of Intel CPU behavior. Use the max CPU model so that 64-bit 182# support follows the host kernel. Running a 32-bit guest on a 64-bit host 183# will fail due to shortcomings in KVM. 184file = msr.flat 185extra_params = -cpu max,vendor=GenuineIntel 186 187[pmu] 188file = pmu.flat 189extra_params = -cpu max 190check = /proc/sys/kernel/nmi_watchdog=0 191accel = kvm 192 193[pmu_lbr] 194arch = x86_64 195file = pmu_lbr.flat 196extra_params = -cpu host,migratable=no 197check = /sys/module/kvm/parameters/ignore_msrs=N 198check = /proc/sys/kernel/nmi_watchdog=0 199accel = kvm 200 201[pmu_emulation] 202file = pmu.flat 203arch = x86_64 204extra_params = -cpu max -append emulation 205check = /sys/module/kvm/parameters/force_emulation_prefix=Y 206accel = kvm 207 208[vmware_backdoors] 209file = vmware_backdoors.flat 210extra_params = -machine vmport=on -cpu max 211check = /sys/module/kvm/parameters/enable_vmware_backdoor=Y 212arch = x86_64 213accel = kvm 214 215[realmode] 216file = realmode.flat 217 218[s3] 219file = s3.flat 220 221[setjmp] 222file = setjmp.flat 223 224[sieve] 225file = sieve.flat 226timeout = 180 227 228[syscall] 229file = syscall.flat 230arch = x86_64 231extra_params = -cpu Opteron_G1,vendor=AuthenticAMD 232 233[tsc] 234file = tsc.flat 235extra_params = -cpu kvm64,+rdtscp 236 237[tsc_adjust] 238file = tsc_adjust.flat 239extra_params = -cpu max 240 241[xsave] 242file = xsave.flat 243arch = x86_64 244extra_params = -cpu max 245 246[rmap_chain] 247file = rmap_chain.flat 248arch = x86_64 249 250[svm] 251file = svm.flat 252smp = 2 253extra_params = -cpu max,+svm -m 4g -append "-pause_filter_test" 254arch = x86_64 255 256[svm_pause_filter] 257file = svm.flat 258extra_params = -cpu max,+svm -overcommit cpu-pm=on -m 4g -append pause_filter_test 259arch = x86_64 260 261[taskswitch] 262file = taskswitch.flat 263arch = i386 264groups = tasks 265 266[taskswitch2] 267file = taskswitch2.flat 268arch = i386 269groups = tasks 270 271[kvmclock_test] 272file = kvmclock_test.flat 273smp = 2 274extra_params = --append "10000000 `date +%s`" 275 276[pcid-enabled] 277file = pcid.flat 278extra_params = -cpu qemu64,+pcid,+invpcid 279arch = x86_64 280groups = pcid 281 282[pcid-disabled] 283file = pcid.flat 284extra_params = -cpu qemu64,-pcid,-invpcid 285arch = x86_64 286groups = pcid 287 288[pcid-asymmetric] 289file = pcid.flat 290extra_params = -cpu qemu64,-pcid,+invpcid 291arch = x86_64 292groups = pcid 293 294[rdpru] 295file = rdpru.flat 296extra_params = -cpu max 297arch = x86_64 298 299[umip] 300file = umip.flat 301extra_params = -cpu qemu64,+umip 302 303[la57] 304file = la57.flat 305arch = i386 306 307[vmx] 308file = vmx.flat 309extra_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 -apic_reg_virt_test -virt_x2apic_mode_test -vmx_pf_exception_test -vmx_pf_no_vpid_test -vmx_pf_invvpid_test -vmx_pf_vpid_test" 310arch = x86_64 311groups = vmx 312 313[ept] 314file = vmx.flat 315extra_params = -cpu max,host-phys-bits,+vmx -m 2560 -append "ept_access*" 316arch = x86_64 317groups = vmx 318 319[vmx_eoi_bitmap_ioapic_scan] 320file = vmx.flat 321smp = 2 322extra_params = -cpu max,+vmx -m 2048 -append vmx_eoi_bitmap_ioapic_scan_test 323arch = x86_64 324groups = vmx 325 326[vmx_hlt_with_rvi_test] 327file = vmx.flat 328extra_params = -cpu max,+vmx -append vmx_hlt_with_rvi_test 329arch = x86_64 330groups = vmx 331timeout = 10 332 333[vmx_apicv_test] 334file = vmx.flat 335extra_params = -cpu max,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test" 336arch = x86_64 337groups = vmx 338timeout = 10 339 340[vmx_apic_passthrough_thread] 341file = vmx.flat 342smp = 2 343extra_params = -cpu max,+vmx -m 2048 -append vmx_apic_passthrough_thread_test 344arch = x86_64 345groups = vmx 346 347[vmx_init_signal_test] 348file = vmx.flat 349smp = 2 350extra_params = -cpu max,+vmx -m 2048 -append vmx_init_signal_test 351arch = x86_64 352groups = vmx 353timeout = 10 354 355[vmx_sipi_signal_test] 356file = vmx.flat 357smp = 2 358extra_params = -cpu max,+vmx -m 2048 -append vmx_sipi_signal_test 359arch = x86_64 360groups = vmx 361timeout = 10 362 363[vmx_apic_passthrough_tpr_threshold_test] 364file = vmx.flat 365extra_params = -cpu max,+vmx -m 2048 -append vmx_apic_passthrough_tpr_threshold_test 366arch = x86_64 367groups = vmx 368timeout = 10 369 370[vmx_vmcs_shadow_test] 371file = vmx.flat 372extra_params = -cpu max,+vmx -append vmx_vmcs_shadow_test 373arch = x86_64 374groups = vmx 375timeout = 180 376 377[vmx_pf_exception_test] 378file = vmx.flat 379extra_params = -cpu max,+vmx -append "vmx_pf_exception_test" 380arch = x86_64 381groups = vmx nested_exception 382 383[vmx_pf_vpid_test] 384file = vmx.flat 385extra_params = -cpu max,+vmx -append "vmx_pf_vpid_test" 386arch = x86_64 387groups = vmx nested_exception 388timeout = 240 389 390[vmx_pf_invvpid_test] 391file = vmx.flat 392extra_params = -cpu max,+vmx -append "vmx_pf_invvpid_test" 393arch = x86_64 394groups = vmx nested_exception 395timeout = 240 396 397[vmx_pf_no_vpid_test] 398file = vmx.flat 399extra_params = -cpu max,+vmx -append "vmx_pf_no_vpid_test" 400arch = x86_64 401groups = vmx nested_exception 402timeout = 240 403 404[vmx_pf_exception_test_reduced_maxphyaddr] 405file = vmx.flat 406extra_params = -cpu IvyBridge,phys-bits=36,host-phys-bits=off,+vmx -append "vmx_pf_exception_test vmx_pf_no_vpid_test vmx_pf_vpid_test vmx_pf_invvpid_test" 407arch = x86_64 408groups = vmx nested_exception 409check = /sys/module/kvm_intel/parameters/allow_smaller_maxphyaddr=Y 410 411[debug] 412file = debug.flat 413arch = x86_64 414 415[hyperv_synic] 416file = hyperv_synic.flat 417smp = 2 418extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev 419groups = hyperv 420 421[hyperv_connections] 422file = hyperv_connections.flat 423smp = 2 424extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev 425groups = hyperv 426 427[hyperv_stimer] 428file = hyperv_stimer.flat 429smp = 2 430extra_params = -cpu kvm64,hv_vpindex,hv_time,hv_synic,hv_stimer -device hyperv-testdev 431groups = hyperv 432 433[hyperv_clock] 434file = hyperv_clock.flat 435smp = 2 436extra_params = -cpu kvm64,hv_time 437arch = x86_64 438groups = hyperv 439check = /sys/devices/system/clocksource/clocksource0/current_clocksource=tsc 440 441[intel_iommu] 442file = intel-iommu.flat 443arch = x86_64 444timeout = 30 445smp = 4 446extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu 447 448[tsx-ctrl] 449file = tsx-ctrl.flat 450extra_params = -cpu max 451groups = tsx-ctrl 452 453[intel_cet] 454file = cet.flat 455arch = x86_64 456smp = 2 457extra_params = -enable-kvm -m 2048 -cpu host 458