mbox series

[v2,0/2] kunit: enable hardware virtualization

Message ID 20241102-kunit-qemu-accel-macos-v2-0-9d4579fddd20@gmail.com
Headers show
Series kunit: enable hardware virtualization | expand

Message

Tamir Duberstein Nov. 2, 2024, 12:09 p.m. UTC
This series implements feature detection of hardware virtualization on
Linux and macOS; the latter being my primary use case.

This yields approximately a 6x improvement using HVF on M3 Pro.

Signed-off-by: Tamir Duberstein <tamird@gmail.com>
---
Changes in v2:
- Use QEMU accelerator fallback (Alyssa Ross, Thomas Weißschuh).
- Link to v1: https://lore.kernel.org/r/20241025-kunit-qemu-accel-macos-v1-0-2f30c26192d4@gmail.com

---
Tamir Duberstein (2):
      kunit: add fallback for os.sched_getaffinity
      kunit: enable hardware acceleration when available

 tools/testing/kunit/kunit.py              | 11 ++++++++++-
 tools/testing/kunit/kunit_kernel.py       |  3 +++
 tools/testing/kunit/qemu_configs/arm64.py |  2 +-
 3 files changed, 14 insertions(+), 2 deletions(-)
---
base-commit: 81983758430957d9a5cb3333fe324fd70cf63e7e
change-id: 20241025-kunit-qemu-accel-macos-2840e4c2def5

Best regards,