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 33groups = apic 34 35[ioapic-split] 36file = ioapic.flat 37extra_params = -cpu qemu64 -machine kernel_irqchip=split 38arch = x86_64 39groups = apic 40 41[x2apic] 42file = apic.flat 43smp = 2 44extra_params = -cpu qemu64,+x2apic,+tsc-deadline 45arch = x86_64 46timeout = 30 47groups = apic 48 49# Hide x2APIC and don't create a Programmable Interval Timer (PIT, a.k.a 8254) 50# to allow testing SVM's AVIC, which is disabled if either is exposed to the guest. 51[xapic] 52file = apic.flat 53smp = 2 54extra_params = -cpu qemu64,-x2apic,+tsc-deadline -machine pit=off 55arch = x86_64 56timeout = 60 57groups = apic 58 59[ioapic] 60file = ioapic.flat 61smp = 4 62extra_params = -cpu qemu64,+x2apic 63arch = x86_64 64 65[cmpxchg8b] 66file = cmpxchg8b.flat 67arch = i386 68 69[smptest] 70file = smptest.flat 71smp = 2 72 73[smptest3] 74file = smptest.flat 75smp = 3 76 77[vmexit_cpuid] 78file = vmexit.flat 79extra_params = -append 'cpuid' 80groups = vmexit 81 82[vmexit_vmcall] 83file = vmexit.flat 84extra_params = -append 'vmcall' 85groups = vmexit 86 87[vmexit_mov_from_cr8] 88file = vmexit.flat 89extra_params = -append 'mov_from_cr8' 90groups = vmexit 91 92[vmexit_mov_to_cr8] 93file = vmexit.flat 94extra_params = -append 'mov_to_cr8' 95groups = vmexit 96 97[vmexit_inl_pmtimer] 98file = vmexit.flat 99extra_params = -append 'inl_from_pmtimer' 100groups = vmexit 101 102[vmexit_ipi] 103file = vmexit.flat 104smp = 2 105extra_params = -append 'ipi' 106groups = vmexit 107 108[vmexit_ipi_halt] 109file = vmexit.flat 110smp = 2 111extra_params = -append 'ipi_halt' 112groups = vmexit 113 114[vmexit_ple_round_robin] 115file = vmexit.flat 116extra_params = -append 'ple_round_robin' 117groups = vmexit 118 119[vmexit_tscdeadline] 120file = vmexit.flat 121groups = vmexit 122extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline 123 124[vmexit_tscdeadline_immed] 125file = vmexit.flat 126groups = vmexit 127extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed 128 129[vmexit_cr0_wp] 130file = vmexit.flat 131smp = 2 132extra_params = -append 'toggle_cr0_wp' 133groups = vmexit 134 135[vmexit_cr4_pge] 136file = vmexit.flat 137smp = 2 138extra_params = -append 'toggle_cr4_pge' 139groups = vmexit 140 141[access] 142file = access_test.flat 143arch = x86_64 144extra_params = -cpu max 145 146[access_fep] 147file = access_test.flat 148arch = x86_64 149extra_params = -cpu max -append force_emulation 150groups = nodefault 151timeout = 240 152 153[access-reduced-maxphyaddr] 154file = access_test.flat 155arch = x86_64 156extra_params = -cpu IvyBridge,phys-bits=36,host-phys-bits=off 157check = /sys/module/kvm_intel/parameters/allow_smaller_maxphyaddr=Y 158 159[smap] 160file = smap.flat 161extra_params = -cpu max 162 163[pku] 164file = pku.flat 165arch = x86_64 166extra_params = -cpu max 167 168[pks] 169file = pks.flat 170arch = x86_64 171extra_params = -cpu max 172 173[asyncpf] 174file = asyncpf.flat 175extra_params = -m 2048 176 177[emulator] 178file = emulator.flat 179 180[eventinj] 181file = eventinj.flat 182 183[hypercall] 184file = hypercall.flat 185 186[idt_test] 187file = idt_test.flat 188arch = x86_64 189 190#[init] 191#file = init.flat 192 193[memory] 194file = memory.flat 195extra_params = -cpu max 196arch = x86_64 197 198[msr] 199# Use GenuineIntel to ensure SYSENTER MSRs are fully preserved, and to test 200# SVM emulation of Intel CPU behavior. Use the max CPU model so that 64-bit 201# support follows the host kernel. Running a 32-bit guest on a 64-bit host 202# will fail due to shortcomings in KVM. 203file = msr.flat 204extra_params = -cpu max,vendor=GenuineIntel 205 206[pmu] 207file = pmu.flat 208extra_params = -cpu max 209check = /sys/module/kvm/parameters/enable_pmu=Y /proc/sys/kernel/nmi_watchdog=0 210accel = kvm 211groups = pmu 212 213[pmu_lbr] 214arch = x86_64 215file = pmu_lbr.flat 216extra_params = -cpu host,migratable=no 217check = /sys/module/kvm/parameters/enable_pmu=Y /proc/sys/kernel/nmi_watchdog=0 /sys/module/kvm/parameters/ignore_msrs=N 218accel = kvm 219groups = pmu 220 221[pmu_pebs] 222arch = x86_64 223file = pmu_pebs.flat 224extra_params = -cpu host,migratable=no 225check = /sys/module/kvm/parameters/enable_pmu=Y /proc/sys/kernel/nmi_watchdog=0 226accel = kvm 227groups = pmu 228 229[vmware_backdoors] 230file = vmware_backdoors.flat 231extra_params = -machine vmport=on -cpu max 232check = /sys/module/kvm/parameters/enable_vmware_backdoor=Y 233arch = x86_64 234accel = kvm 235 236[realmode] 237file = realmode.flat 238 239[s3] 240file = s3.flat 241 242[setjmp] 243file = setjmp.flat 244 245[sieve] 246file = sieve.flat 247timeout = 180 248 249[syscall] 250file = syscall.flat 251arch = x86_64 252extra_params = -cpu Opteron_G1,vendor=AuthenticAMD 253 254[tsc] 255file = tsc.flat 256extra_params = -cpu max 257 258[tsc_adjust] 259file = tsc_adjust.flat 260extra_params = -cpu max 261 262[xsave] 263file = xsave.flat 264arch = x86_64 265extra_params = -cpu max 266 267[rmap_chain] 268file = rmap_chain.flat 269arch = x86_64 270 271[svm] 272file = svm.flat 273smp = 2 274extra_params = -cpu max,+svm -m 4g -append "-pause_filter_test" 275arch = x86_64 276groups = svm 277 278[svm_pause_filter] 279file = svm.flat 280extra_params = -cpu max,+svm -overcommit cpu-pm=on -m 4g -append pause_filter_test 281arch = x86_64 282groups = svm 283 284[svm_npt] 285file = svm_npt.flat 286smp = 2 287extra_params = -cpu max,+svm -m 4g 288arch = x86_64 289 290[taskswitch] 291file = taskswitch.flat 292arch = i386 293groups = tasks 294 295[taskswitch2] 296file = taskswitch2.flat 297arch = i386 298groups = tasks 299 300[kvmclock_test] 301file = kvmclock_test.flat 302smp = 2 303extra_params = --append "10000000 `date +%s`" 304 305[pcid-enabled] 306file = pcid.flat 307extra_params = -cpu qemu64,+pcid,+invpcid 308arch = x86_64 309groups = pcid 310 311[pcid-disabled] 312file = pcid.flat 313extra_params = -cpu qemu64,-pcid,-invpcid 314arch = x86_64 315groups = pcid 316 317[pcid-asymmetric] 318file = pcid.flat 319extra_params = -cpu qemu64,-pcid,+invpcid 320arch = x86_64 321groups = pcid 322 323[rdpru] 324file = rdpru.flat 325extra_params = -cpu max 326arch = x86_64 327 328[umip] 329file = umip.flat 330extra_params = -cpu qemu64,+umip 331 332[la57] 333file = la57.flat 334arch = i386 335 336[vmx] 337file = vmx.flat 338extra_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_exception_forced_emulation_test -vmx_pf_no_vpid_test -vmx_pf_invvpid_test -vmx_pf_vpid_test" 339arch = x86_64 340groups = vmx 341 342[ept] 343file = vmx.flat 344extra_params = -cpu max,host-phys-bits,+vmx -m 2560 -append "ept_access*" 345arch = x86_64 346groups = vmx 347 348[vmx_eoi_bitmap_ioapic_scan] 349file = vmx.flat 350smp = 2 351extra_params = -cpu max,+vmx -m 2048 -append vmx_eoi_bitmap_ioapic_scan_test 352arch = x86_64 353groups = vmx 354 355[vmx_hlt_with_rvi_test] 356file = vmx.flat 357extra_params = -cpu max,+vmx -append vmx_hlt_with_rvi_test 358arch = x86_64 359groups = vmx 360timeout = 10 361 362[vmx_apicv_test] 363file = vmx.flat 364extra_params = -cpu max,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test" 365arch = x86_64 366groups = vmx 367timeout = 10 368 369[vmx_apic_passthrough_thread] 370file = vmx.flat 371smp = 2 372extra_params = -cpu max,+vmx -m 2048 -append vmx_apic_passthrough_thread_test 373arch = x86_64 374groups = vmx 375 376[vmx_init_signal_test] 377file = vmx.flat 378smp = 2 379extra_params = -cpu max,+vmx -m 2048 -append vmx_init_signal_test 380arch = x86_64 381groups = vmx 382timeout = 10 383 384[vmx_sipi_signal_test] 385file = vmx.flat 386smp = 2 387extra_params = -cpu max,+vmx -m 2048 -append vmx_sipi_signal_test 388arch = x86_64 389groups = vmx 390timeout = 10 391 392[vmx_apic_passthrough_tpr_threshold_test] 393file = vmx.flat 394extra_params = -cpu max,+vmx -m 2048 -append vmx_apic_passthrough_tpr_threshold_test 395arch = x86_64 396groups = vmx 397timeout = 10 398 399[vmx_vmcs_shadow_test] 400file = vmx.flat 401extra_params = -cpu max,+vmx -append vmx_vmcs_shadow_test 402arch = x86_64 403groups = vmx 404timeout = 180 405 406[vmx_pf_exception_test] 407file = vmx.flat 408extra_params = -cpu max,+vmx -append "vmx_pf_exception_test" 409arch = x86_64 410groups = vmx nested_exception 411 412[vmx_pf_exception_test_fep] 413file = vmx.flat 414extra_params = -cpu max,+vmx -append "vmx_pf_exception_forced_emulation_test" 415arch = x86_64 416groups = vmx nested_exception nodefault 417timeout = 240 418 419[vmx_pf_vpid_test] 420file = vmx.flat 421extra_params = -cpu max,+vmx -append "vmx_pf_vpid_test" 422arch = x86_64 423groups = vmx nested_exception nodefault 424timeout = 240 425 426[vmx_pf_invvpid_test] 427file = vmx.flat 428extra_params = -cpu max,+vmx -append "vmx_pf_invvpid_test" 429arch = x86_64 430groups = vmx nested_exception nodefault 431timeout = 240 432 433[vmx_pf_no_vpid_test] 434file = vmx.flat 435extra_params = -cpu max,+vmx -append "vmx_pf_no_vpid_test" 436arch = x86_64 437groups = vmx nested_exception nodefault 438timeout = 240 439 440[vmx_pf_exception_test_reduced_maxphyaddr] 441file = vmx.flat 442extra_params = -cpu IvyBridge,phys-bits=36,host-phys-bits=off,+vmx -append "vmx_pf_exception_test" 443arch = x86_64 444groups = vmx nested_exception 445check = /sys/module/kvm_intel/parameters/allow_smaller_maxphyaddr=Y 446 447[debug] 448file = debug.flat 449arch = x86_64 450 451[hyperv_synic] 452file = hyperv_synic.flat 453smp = 2 454extra_params = -cpu host,hv_passthrough -device hyperv-testdev 455groups = hyperv 456 457[hyperv_connections] 458file = hyperv_connections.flat 459smp = 2 460extra_params = -cpu host,hv_passthrough -device hyperv-testdev 461groups = hyperv 462 463[hyperv_stimer] 464file = hyperv_stimer.flat 465smp = 2 466extra_params = -cpu host,hv_passthrough 467groups = hyperv 468 469[hyperv_stimer_direct] 470file = hyperv_stimer.flat 471smp = 2 472extra_params = -cpu host,hv_passthrough -append direct 473groups = hyperv 474 475[hyperv_clock] 476file = hyperv_clock.flat 477smp = 2 478extra_params = -cpu host,hv_passthrough 479arch = x86_64 480groups = hyperv 481check = /sys/devices/system/clocksource/clocksource0/current_clocksource=tsc 482 483[intel_iommu] 484file = intel-iommu.flat 485arch = x86_64 486timeout = 30 487smp = 4 488extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu 489 490[tsx-ctrl] 491file = tsx-ctrl.flat 492extra_params = -cpu max 493groups = tsx-ctrl 494 495[intel_cet] 496file = cet.flat 497arch = x86_64 498smp = 2 499extra_params = -enable-kvm -m 2048 -cpu host 500