| ############################################################################## |
| # unittest configuration |
| # |
| # [unittest_name] |
| # file = <name>.flat # Name of the flat file to be used. |
| # smp = <num> # Number of processors the VM will use |
| # # during this test. Use $MAX_SMP to use |
| # # the maximum the host supports. Defaults |
| # # to one. |
| # extra_params = -append <params...> # Additional parameters used. |
| # arch = i386|x86_64 # Select one if the test case is |
| # # specific to only one. |
| # groups = <group_name1> <group_name2> ... # Used to identify test cases |
| # # with run_tests -g ... |
| # # Specify group_name=nodefault |
| # # to have test not run by |
| # # default |
| # accel = kvm|tcg # Optionally specify if test must run with |
| # # kvm or tcg. If not specified, then kvm will |
| # # be used when available. |
| # timeout = <duration> # Optionally specify a timeout. |
| # check = <path>=<value> # check a file for a particular value before running |
| # # a test. The check line can contain multiple files |
| # # to check separated by a space but each check |
| # # parameter needs to be of the form <path>=<value> |
| ############################################################################## |
| |
| [apic-split] |
| file = apic.flat |
| smp = 2 |
| extra_params = -cpu qemu64,+x2apic,+tsc-deadline -machine kernel_irqchip=split |
| arch = x86_64 |
| |
| [ioapic-split] |
| file = ioapic.flat |
| extra_params = -cpu qemu64 -machine kernel_irqchip=split |
| arch = x86_64 |
| |
| [apic] |
| file = apic.flat |
| smp = 2 |
| extra_params = -cpu qemu64,+x2apic,+tsc-deadline |
| arch = x86_64 |
| timeout = 30 |
| |
| [ioapic] |
| file = ioapic.flat |
| smp = 4 |
| extra_params = -cpu qemu64,+x2apic |
| arch = x86_64 |
| |
| [cmpxchg8b] |
| file = cmpxchg8b.flat |
| arch = i386 |
| |
| [smptest] |
| file = smptest.flat |
| smp = 2 |
| |
| [smptest3] |
| file = smptest.flat |
| smp = 3 |
| |
| [vmexit_cpuid] |
| file = vmexit.flat |
| extra_params = -append 'cpuid' |
| groups = vmexit |
| |
| [vmexit_vmcall] |
| file = vmexit.flat |
| extra_params = -append 'vmcall' |
| groups = vmexit |
| |
| [vmexit_mov_from_cr8] |
| file = vmexit.flat |
| extra_params = -append 'mov_from_cr8' |
| groups = vmexit |
| |
| [vmexit_mov_to_cr8] |
| file = vmexit.flat |
| extra_params = -append 'mov_to_cr8' |
| groups = vmexit |
| |
| [vmexit_inl_pmtimer] |
| file = vmexit.flat |
| extra_params = -append 'inl_from_pmtimer' |
| groups = vmexit |
| |
| [vmexit_ipi] |
| file = vmexit.flat |
| smp = 2 |
| extra_params = -append 'ipi' |
| groups = vmexit |
| |
| [vmexit_ipi_halt] |
| file = vmexit.flat |
| smp = 2 |
| extra_params = -append 'ipi_halt' |
| groups = vmexit |
| |
| [vmexit_ple_round_robin] |
| file = vmexit.flat |
| extra_params = -append 'ple_round_robin' |
| groups = vmexit |
| |
| [vmexit_tscdeadline] |
| file = vmexit.flat |
| groups = vmexit |
| extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline |
| |
| [vmexit_tscdeadline_immed] |
| file = vmexit.flat |
| groups = vmexit |
| extra_params = -cpu qemu64,+x2apic,+tsc-deadline -append tscdeadline_immed |
| |
| [access] |
| file = access.flat |
| arch = x86_64 |
| extra_params = -cpu max |
| timeout = 180 |
| |
| [access-reduced-maxphyaddr] |
| file = access.flat |
| arch = x86_64 |
| extra_params = -cpu IvyBridge,phys-bits=36,host-phys-bits=off |
| timeout = 180 |
| check = /sys/module/kvm_intel/parameters/allow_smaller_maxphyaddr=Y |
| |
| [smap] |
| file = smap.flat |
| extra_params = -cpu max |
| |
| [pku] |
| file = pku.flat |
| arch = x86_64 |
| extra_params = -cpu max |
| |
| [pks] |
| file = pks.flat |
| arch = x86_64 |
| extra_params = -cpu max |
| |
| [asyncpf] |
| file = asyncpf.flat |
| extra_params = -m 2048 |
| |
| [emulator] |
| file = emulator.flat |
| arch = x86_64 |
| |
| [eventinj] |
| file = eventinj.flat |
| |
| [hypercall] |
| file = hypercall.flat |
| |
| [idt_test] |
| file = idt_test.flat |
| arch = x86_64 |
| |
| #[init] |
| #file = init.flat |
| |
| [memory] |
| file = memory.flat |
| extra_params = -cpu max |
| arch = x86_64 |
| |
| [msr] |
| file = msr.flat |
| |
| [pmu] |
| file = pmu.flat |
| extra_params = -cpu max |
| check = /proc/sys/kernel/nmi_watchdog=0 |
| |
| [pmu_lbr] |
| file = pmu_lbr.flat |
| extra_params = -cpu host,migratable=no |
| check = /sys/module/kvm/parameters/ignore_msrs=N |
| check = /proc/sys/kernel/nmi_watchdog=0 |
| |
| [vmware_backdoors] |
| file = vmware_backdoors.flat |
| extra_params = -machine vmport=on -cpu max |
| check = /sys/module/kvm/parameters/enable_vmware_backdoor=Y |
| arch = x86_64 |
| |
| [realmode] |
| file = realmode.flat |
| |
| [s3] |
| file = s3.flat |
| |
| [setjmp] |
| file = setjmp.flat |
| |
| [sieve] |
| file = sieve.flat |
| timeout = 180 |
| |
| [syscall] |
| file = syscall.flat |
| arch = x86_64 |
| extra_params = -cpu Opteron_G1,vendor=AuthenticAMD |
| |
| [tsc] |
| file = tsc.flat |
| extra_params = -cpu kvm64,+rdtscp |
| |
| [tsc_adjust] |
| file = tsc_adjust.flat |
| extra_params = -cpu max |
| |
| [xsave] |
| file = xsave.flat |
| arch = x86_64 |
| extra_params = -cpu max |
| |
| [rmap_chain] |
| file = rmap_chain.flat |
| arch = x86_64 |
| |
| [svm] |
| file = svm.flat |
| smp = 2 |
| extra_params = -cpu max,+svm -m 4g |
| arch = x86_64 |
| |
| [taskswitch] |
| file = taskswitch.flat |
| arch = i386 |
| groups = tasks |
| |
| [taskswitch2] |
| file = taskswitch2.flat |
| arch = i386 |
| groups = tasks |
| |
| [kvmclock_test] |
| file = kvmclock_test.flat |
| smp = 2 |
| extra_params = --append "10000000 `date +%s`" |
| |
| [pcid] |
| file = pcid.flat |
| extra_params = -cpu qemu64,+pcid,+invpcid |
| arch = x86_64 |
| |
| [pcid-disabled] |
| file = pcid.flat |
| extra_params = -cpu qemu64,-pcid,-invpcid |
| arch = x86_64 |
| |
| [rdpru] |
| file = rdpru.flat |
| extra_params = -cpu max |
| arch = x86_64 |
| |
| [umip] |
| file = umip.flat |
| extra_params = -cpu qemu64,+umip |
| |
| [la57] |
| file = la57.flat |
| arch = i386 |
| |
| [vmx] |
| file = vmx.flat |
| extra_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" |
| arch = x86_64 |
| groups = vmx |
| |
| [ept] |
| file = vmx.flat |
| extra_params = -cpu max,host-phys-bits,+vmx -m 2560 -append "ept_access*" |
| arch = x86_64 |
| groups = vmx |
| |
| [vmx_eoi_bitmap_ioapic_scan] |
| file = vmx.flat |
| smp = 2 |
| extra_params = -cpu max,+vmx -m 2048 -append vmx_eoi_bitmap_ioapic_scan_test |
| arch = x86_64 |
| groups = vmx |
| |
| [vmx_hlt_with_rvi_test] |
| file = vmx.flat |
| extra_params = -cpu max,+vmx -append vmx_hlt_with_rvi_test |
| arch = x86_64 |
| groups = vmx |
| timeout = 10 |
| |
| [vmx_apicv_test] |
| file = vmx.flat |
| extra_params = -cpu max,+vmx -append "apic_reg_virt_test virt_x2apic_mode_test" |
| arch = x86_64 |
| groups = vmx |
| timeout = 10 |
| |
| [vmx_apic_passthrough_thread] |
| file = vmx.flat |
| smp = 2 |
| extra_params = -cpu max,+vmx -m 2048 -append vmx_apic_passthrough_thread_test |
| arch = x86_64 |
| groups = vmx |
| |
| [vmx_init_signal_test] |
| file = vmx.flat |
| smp = 2 |
| extra_params = -cpu max,+vmx -m 2048 -append vmx_init_signal_test |
| arch = x86_64 |
| groups = vmx |
| timeout = 10 |
| |
| [vmx_sipi_signal_test] |
| file = vmx.flat |
| smp = 2 |
| extra_params = -cpu max,+vmx -m 2048 -append vmx_sipi_signal_test |
| arch = x86_64 |
| groups = vmx |
| timeout = 10 |
| |
| [vmx_apic_passthrough_tpr_threshold_test] |
| file = vmx.flat |
| extra_params = -cpu max,+vmx -m 2048 -append vmx_apic_passthrough_tpr_threshold_test |
| arch = x86_64 |
| groups = vmx |
| timeout = 10 |
| |
| [vmx_vmcs_shadow_test] |
| file = vmx.flat |
| extra_params = -cpu max,+vmx -append vmx_vmcs_shadow_test |
| arch = x86_64 |
| groups = vmx |
| |
| [debug] |
| file = debug.flat |
| arch = x86_64 |
| |
| [hyperv_synic] |
| file = hyperv_synic.flat |
| smp = 2 |
| extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev |
| groups = hyperv |
| |
| [hyperv_connections] |
| file = hyperv_connections.flat |
| smp = 2 |
| extra_params = -cpu kvm64,hv_vpindex,hv_synic -device hyperv-testdev |
| groups = hyperv |
| |
| [hyperv_stimer] |
| file = hyperv_stimer.flat |
| smp = 2 |
| extra_params = -cpu kvm64,hv_vpindex,hv_time,hv_synic,hv_stimer -device hyperv-testdev |
| groups = hyperv |
| |
| [hyperv_clock] |
| file = hyperv_clock.flat |
| smp = 2 |
| extra_params = -cpu kvm64,hv_time |
| arch = x86_64 |
| groups = hyperv |
| check = /sys/devices/system/clocksource/clocksource0/current_clocksource=tsc |
| |
| [intel_iommu] |
| file = intel-iommu.flat |
| arch = x86_64 |
| timeout = 30 |
| smp = 4 |
| extra_params = -M q35,kernel-irqchip=split -device intel-iommu,intremap=on,eim=off -device edu |
| |
| [tsx-ctrl] |
| file = tsx-ctrl.flat |
| extra_params = -cpu max |
| groups = tsx-ctrl |
| |
| [intel_cet] |
| file = cet.flat |
| arch = x86_64 |
| smp = 2 |
| extra_params = -enable-kvm -m 2048 -cpu host |