/kvm-unit-tests/ |
H A D | MAINTAINERS | 1 KVM Unit Tests Maintainers 10 should consult the KVM mailing list <kvm@vger.kernel.org> and not any 62 L: kvm@vger.kernel.org 63 T: https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git 70 L: kvm@vger.kernel.org 86 T: https://gitlab.com/jones-drew/kvm-unit-tests.git 100 L: kvm-riscv@lists.infradead.org 103 T: https://gitlab.com/jones-drew/kvm-unit-tests.git 122 T: https://gitlab.com/bonzini/kvm-unit-tests.git
|
H A D | README.md | 1 # Welcome to kvm-unit-tests 3 See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level 9 This directory contains sources for a KVM test suite. 52 `make install` will install all tests in PREFIX/share/kvm-unit-tests/tests, 77 To select an accelerator, for example "kvm", "hvf" or "tcg", specify the 80 ACCEL=kvm ./x86-run ./x86/msr.flat 86 As for running a test with kvmtool, please configure kvm-unit-tests accordingly 94 variable. kvmtool supports only kvm as the accelerator. 129 QEMU_ACCEL either kvm, hvf or tcg 141 host. kvm-unit-tests provides two ways to handle tests like those. [all …]
|
H A D | README | 1 # Welcome to kvm-unit-tests 3 See http://www.linux-kvm.org/page/KVM-unit-tests for a high-level 9 This directory contains sources for a KVM test suite. 52 `make install` will install all tests in PREFIX/share/kvm-unit-tests/tests, 77 To select an accelerator, for example "kvm", "hvf" or "tcg", specify the 80 ACCEL=kvm ./x86-run ./x86/msr.flat 86 As for running a test with kvmtool, please configure kvm-unit-tests accordingly 94 variable. kvmtool supports only kvm as the accelerator. 129 QEMU_ACCEL either kvm, hv [all...] |
H A D | errata.txt | 5 9e3f7a296940 : 4.9 : arm64: KVM: pmu: Fix AArch32 cycle counter access 6 7b6b46311a85 : 4.11 : KVM: arm/arm64: Emulate the EL1 phys timer regist… 7 6c7a5dce22b3 : 4.12 : KVM: arm/arm64: fix races in kvm_psci_vcpu_on 8 8c58be34494b : 5.6 : KVM: arm/arm64: vgic-its: Fix restoration of unma…
|
H A D | README.macOS.md | 1 # kvm-unit-tests on macOS 14 A cross-compiler with ELF support is required to build kvm-unit-tests on macOS.
|
H A D | COPYRIGHT | 4 The kvm-unit-tests are free software; the whole package can be redistributed
|
H A D | .shellcheckrc | 27 # kvm-unit-tests is negligible as it's not shell-heavy in the first
|
/kvm-unit-tests/x86/efi/ |
H A D | README.md | 1 # Build kvm-unit-tests and run under UEFI 5 This dir provides code to build kvm-unit-tests test cases and run them under 58 kvm-unit-tests follows a similar build process, but does not link with GNU-EFI 60 ### Startup code for kvm-unit-tests in UEFI 62 This dir also contains kvm-unit-tests startup code in UEFI: 63 - efistart64.S: startup code for kvm-unit-tests in UEFI
|
/kvm-unit-tests/s390x/ |
H A D | stsi.c | 88 /* EBCDIC for "kvm-unit" */ in test_3_2_2() 94 /* EBCDIC for "KVM/" */ in test_3_2_2() 96 const char vm_name_ext[] = "kvm-unit-test"; in test_3_2_2() 110 /* For now we concentrate on KVM/QEMU */ in test_3_2_2() 112 report_skip("Not running under KVM/QEMU."); in test_3_2_2() 123 "VM name == kvm-unit-test"); in test_3_2_2() 130 "ext VM name == kvm-unit-test"); in test_3_2_2()
|
H A D | unittests.cfg | 18 # TODO: Remove accel=kvm once the following TCG migration fix has been merged: 20 accel = kvm 27 # This fails due to a QEMU TCG bug so KVM-only until QEMU is fixed upstream 30 accel = kvm 42 # can take fairly long when KVM is nested inside z/VM 82 qemu_params=-name kvm-unit-test --uuid 0fb84a86-727c-11ea-bc55-0242ac130003 -smp 1,maxcpus=8 126 [firq-linear-cpu-ids-kvm] 130 accel = kvm 132 [firq-nonlinear-cpu-ids-kvm] 136 accel = kvm [all …]
|
H A D | panic-loop-pgm.c | 21 report_skip("QEMU-KVM-only test"); in main()
|
/kvm-unit-tests/arm/ |
H A D | run | 26 if [ "$ACCEL" = "kvm" ]; then 40 if [ "$ACCEL" = "kvm" ]; then 47 if ( [ "$ACCEL" = "kvm" ] || [ "$ACCEL" = "hvf" ] ) && 103 if [ "$ACCEL" ] && [ "$ACCEL" != "kvm" ]; then 109 echo "kvmtool requires KVM but not available on the host" >&2
|
/kvm-unit-tests/lib/x86/ |
H A D | amd_sev.c | 2 * AMD SEV support in kvm-unit-tests 102 * Copy UEFI's #VC IDT entry, so KVM-Unit-Tests can reuse it and does in setup_amd_sev_es() 104 * segment to use KVM-Unit-Tests segments, KERNEL_CS, so that we do not in setup_amd_sev_es() 105 * have to copy the UEFI GDT entries into KVM-Unit-Tests GDT. in setup_amd_sev_es() 109 * handler in kvm-unit-tests and load it, so that kvm-unit-tests does in setup_amd_sev_es()
|
H A D | amd_sev.h | 2 * AMD SEV support in kvm-unit-tests
|
/kvm-unit-tests/x86/ |
H A D | unittests.cfg | 191 # will fail due to shortcomings in KVM. 198 check = /sys/module/kvm/parameters/enable_pmu=Y /proc/sys/kernel/nmi_watchdog=0 199 accel = kvm 206 check = /sys/module/kvm/parameters/enable_pmu=Y /proc/sys/kernel/nmi_watchdog=0 /sys/module/kvm/par… 207 accel = kvm 214 check = /sys/module/kvm/parameters/enable_pmu=Y /proc/sys/kernel/nmi_watchdog=0 215 accel = kvm 221 check = /sys/module/kvm/parameters/enable_vmware_backdoor=Y 223 accel = kvm 516 qemu_params = -enable-kvm -m 2048 -cpu host [all …]
|
H A D | README | 12 Using qemu-kvm: 14 qemu-kvm -device testdev,chardev=testlog \ 20 qemu-system-x86_64 -enable-kvm -device pc-testdev -serial stdio \ 45 'old style' qemu-kvm, whose exit status in successful completion is 0.
|
H A D | la57.c | 224 * Note that this test tests the kvm's behavior only when ept=0. in test_invpcid() 227 * Also KVM's x86 emulator doesn't support invpcid, thus testing invpcid in test_invpcid() 259 * KVM emulation however ignores canonical checks for these MSRs, even in __test_canonical_checks() 276 (is_intel() ? "due to known errata in KVM" : "due to AMD host")); in __test_canonical_checks()
|
/kvm-unit-tests/lib/s390x/ |
H A D | hardware.c | 22 /* The string "KVM/" in EBCDIC */ 47 * If the manufacturer string is "KVM/" in EBCDIC, then we in do_detect_host() 48 * are on KVM. in do_detect_host()
|
/kvm-unit-tests/powerpc/ |
H A D | run | 27 if [[ "$MACHINE" == "powernv"* ]] && [ "$ACCEL" = "kvm" ]; then 28 echo "PowerNV machine does not support KVM. ACCEL=tcg must be specified." 48 elif [[ "$ACCEL" == "kvm" ]] ; then
|
H A D | tm.c | 136 /* kvm-unit-tests can limit number of CPUs present */ in main() 137 /* KVM does not report TM in secondary threads in POWER9 */ in main()
|
/kvm-unit-tests/docs/ |
H A D | unittests.txt | 102 accel = kvm|tcg 106 specified with ACCEL= environment variable, and defaults to KVM if 135 This can be used to prevent running a test when kvm-unit-tests is configured a
|
/kvm-unit-tests/lib/ |
H A D | chr-testdev.h | 6 * qemu for kvm-unit-tests accessible through virtio-console.
|
/kvm-unit-tests/scripts/ |
H A D | pretty_print_stacks.py | 29 # 0x004002be: start64 at path/to/kvm-unit-tests-repo-worktree/x86/cstart64.S:208 30 …# (inlined by) test_ept_violation at path/to/kvm-unit-tests-repo-worktree/x86/vmx_tests.c:…
|
/kvm-unit-tests/ci/ |
H A D | cirrus-ci-fedora.yml | 7 kvm: true
|
/kvm-unit-tests/riscv/ |
H A D | run | 25 [ "$ACCEL" = "kvm" ] && QEMU_ARCH=$HOST
|