linux/tools/testing/kunit/qemu_configs
Tamir Duberstein 220374e70b kunit: enable hardware acceleration when available
Use KVM or HVF if supported by the QEMU binary and available on the
system.

This produces a nice improvement on my Apple M3 Pro running macOS 14.7:

Before:
./tools/testing/kunit/kunit.py exec --arch arm64
[HH:MM:SS] Elapsed time: 10.145s

After:
./tools/testing/kunit/kunit.py exec --arch arm64
[HH:MM:SS] Elapsed time: 1.773s

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2025-01-14 14:56:56 -07:00
..
alpha.py kunit: tool: stop using a shell to run kernel under QEMU 2022-05-12 11:15:42 -06:00
arm.py kunit: tool: stop using a shell to run kernel under QEMU 2022-05-12 11:15:42 -06:00
arm64.py kunit: enable hardware acceleration when available 2025-01-14 14:56:56 -07:00
i386.py kunit: tool: Use qemu-system-i386 for i386 runs 2022-05-18 17:03:54 -06:00
loongarch.py kunit: qemu_configs: loongarch: Enable shutdown 2024-11-19 15:26:30 -07:00
m68k.py kunit: tool: Add support for m68k under QEMU 2023-03-06 17:11:45 -07:00
powerpc.py kunit: tool: stop using a shell to run kernel under QEMU 2022-05-12 11:15:42 -06:00
riscv.py RISC-V: drop SOC_VIRT for ARCH_VIRT 2024-04-10 11:37:50 +01:00
s390.py kunit: tool: stop using a shell to run kernel under QEMU 2022-05-12 11:15:42 -06:00
sh.py kunit: tool: Add support for SH under QEMU 2023-04-05 12:51:16 -06:00
sparc.py kunit: tool: stop using a shell to run kernel under QEMU 2022-05-12 11:15:42 -06:00
x86_64.py kunit: tool: stop using a shell to run kernel under QEMU 2022-05-12 11:15:42 -06:00