All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 0/9] kvm-unit-tests: update deps and fine tune qemu
@ 2025-07-21 15:48 Alex Bennée
  2025-07-21 15:48 ` [Buildroot] [PATCH v3 1/9] toolchain/external: allow installing of libc utils Alex Bennée
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Alex Bennée @ 2025-07-21 15:48 UTC (permalink / raw)
  To: buildroot

The kvm-unit-tests recipe is a little out of date with the
dependencies it needs. With that and some tweaking of the of processor
dependencies we can now build kvm-unit-tests for arm64.

As kvm-unit-tests need the libc utils and I use external tooling I
added support for that.

On the way I've added some new config options for QEMU so you can just
select your native, kvm-only QEMU build.

For Arm we can also run with kvmtool so I've added an option to enable
that.

Finally I've added a simple test case for the kvm-unit-tests package.

For v3
  - add r-b tags
  - update kvm-unit-tests to current master
  - update kvmtool
  - enable kvmtool as alternative to QEMU

For v2
  - addressed review comments
  - added external libc util support
  - added test case
  - ran and addressed linter warnings

Alex.

Alex Bennée (9):
  toolchain/external: allow installing of libc utils
  package/kvm-unit-tests: assume AArch64 supports KVM
  package/kvm-unit-tests: update dependencies
  package/qemu: introduce kvm and tcg system options
  package/kvm-unit-tests: bump to current master
  package/kvm-unit-tests: honour BR2_ARM64_PAGE_SIZE
  support/testing: add test for kvm-unit-tests
  package/kvmtool: bump to current HEAD
  package/kvm-unit-tests: allow kvmtool to be used

 board/qemu/aarch64-virt/linux.config          |  2 +
 package/kvm-unit-tests/Config.in              | 37 +++++++++----
 package/kvm-unit-tests/kvm-unit-tests.hash    |  2 +-
 package/kvm-unit-tests/kvm-unit-tests.mk      | 20 +++++--
 ...e-h-inclusion-for-musl-compatibility.patch | 52 -------------------
 package/kvmtool/kvmtool.hash                  |  2 +-
 package/kvmtool/kvmtool.mk                    |  2 +-
 package/qemu/Config.in                        | 23 ++++++--
 package/qemu/qemu.mk                          | 14 ++++-
 support/testing/tests/package/test_kvm.py     | 47 +++++++++++++++++
 toolchain/toolchain-external/Config.in        |  7 +++
 .../pkg-toolchain-external.mk                 | 24 +++++++++
 12 files changed, 157 insertions(+), 75 deletions(-)
 delete mode 100644 package/kvmtool/0001-remove-wordsize-h-inclusion-for-musl-compatibility.patch
 create mode 100644 support/testing/tests/package/test_kvm.py

-- 
2.47.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2025-08-05 16:34 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-21 15:48 [Buildroot] [PATCH v3 0/9] kvm-unit-tests: update deps and fine tune qemu Alex Bennée
2025-07-21 15:48 ` [Buildroot] [PATCH v3 1/9] toolchain/external: allow installing of libc utils Alex Bennée
2025-07-21 15:48 ` [Buildroot] [PATCH v3 2/9] package/kvm-unit-tests: assume AArch64 supports KVM Alex Bennée
2025-07-21 15:48 ` [Buildroot] [PATCH v3 3/9] package/kvm-unit-tests: update dependencies Alex Bennée
2025-07-21 15:48 ` [Buildroot] [PATCH v3 4/9] package/qemu: introduce kvm and tcg system options Alex Bennée
2025-07-21 15:48 ` [Buildroot] [PATCH v3 5/9] package/kvm-unit-tests: bump to current master Alex Bennée
2025-07-31  9:26   ` Thomas Huth
2025-08-05 16:34     ` Alex Bennée
2025-07-21 15:48 ` [Buildroot] [PATCH v3 6/9] package/kvm-unit-tests: honour BR2_ARM64_PAGE_SIZE Alex Bennée
2025-07-21 15:48 ` [Buildroot] [PATCH v3 7/9] support/testing: add test for kvm-unit-tests Alex Bennée
2025-07-21 15:48 ` [Buildroot] [PATCH v3 8/9] package/kvmtool: bump to current HEAD Alex Bennée
2025-07-21 15:48 ` [Buildroot] [PATCH v3 9/9] package/kvm-unit-tests: allow kvmtool to be used Alex Bennée

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.