mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] kunit: enable hardware virtualization
@ 2024-11-02 12:09 Tamir Duberstein
  2024-11-02 12:09 ` [PATCH v2 1/2] kunit: add fallback for os.sched_getaffinity Tamir Duberstein
  2024-11-02 12:09 ` [PATCH v2 2/2] kunit: enable hardware acceleration when available Tamir Duberstein
  0 siblings, 2 replies; 10+ messages in thread
From: Tamir Duberstein @ 2024-11-02 12:09 UTC (permalink / raw)
  To: Brendan Higgins, David Gow, Rae Moar, Alyssa Ross, Thomas Weißschuh
  Cc: linux-kselftest, kunit-dev, linux-kernel, Tamir Duberstein

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,
-- 
Tamir Duberstein <tamird@gmail.com>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-01-13 21:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-02 12:09 [PATCH v2 0/2] kunit: enable hardware virtualization Tamir Duberstein
2024-11-02 12:09 ` [PATCH v2 1/2] kunit: add fallback for os.sched_getaffinity Tamir Duberstein
2024-11-05  8:35   ` David Gow
2024-12-07 18:52     ` Tamir Duberstein
2025-01-13 21:05       ` Tamir Duberstein
2024-11-02 12:09 ` [PATCH v2 2/2] kunit: enable hardware acceleration when available Tamir Duberstein
2024-11-05  8:36   ` David Gow
2024-11-05 12:36   ` Kristina Martsenko
2024-11-05 19:51     ` Tamir Duberstein
2024-12-03 17:08       ` Tamir Duberstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®