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