Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v5 0/9] kvm-unit-tests: update deps and fine tune qemu
@ 2025-09-11 21:27 Alex Bennée
  2025-09-11 21:27 ` [Buildroot] [PATCH v5 1/9] toolchain/external: allow installing of libc utils Alex Bennée
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Alex Bennée @ 2025-09-11 21:27 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 v5
  - more r-b tags
  - addressed comments (see commits)

For v4
  - re-base
  - update kvm-unit-tests to v2025-07-31

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 v2025-07-31
  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      | 21 +++++++-
 ...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, 162 insertions(+), 71 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.3

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

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

end of thread, other threads:[~2026-02-13 19:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-11 21:27 [Buildroot] [PATCH v5 0/9] kvm-unit-tests: update deps and fine tune qemu Alex Bennée
2025-09-11 21:27 ` [Buildroot] [PATCH v5 1/9] toolchain/external: allow installing of libc utils Alex Bennée
2025-09-11 21:27 ` [Buildroot] [PATCH v5 2/9] package/kvm-unit-tests: assume AArch64 supports KVM Alex Bennée
2026-02-13 19:36   ` Thomas Perale via buildroot
2025-09-11 21:27 ` [Buildroot] [PATCH v5 3/9] package/kvm-unit-tests: update dependencies Alex Bennée
2025-09-11 21:27 ` [Buildroot] [PATCH v5 4/9] package/qemu: introduce kvm and tcg system options Alex Bennée
2026-02-04 16:21   ` Thomas Petazzoni via buildroot
2025-09-11 21:27 ` [Buildroot] [PATCH v5 5/9] package/kvm-unit-tests: bump to v2025-07-31 Alex Bennée
2025-09-11 21:27 ` [Buildroot] [PATCH v5 6/9] package/kvm-unit-tests: honour BR2_ARM64_PAGE_SIZE Alex Bennée
2025-09-11 21:27 ` [Buildroot] [PATCH v5 7/9] support/testing: add test for kvm-unit-tests Alex Bennée
2025-09-11 21:27 ` [Buildroot] [PATCH v5 8/9] package/kvmtool: bump to current HEAD Alex Bennée
2025-12-16 22:03   ` Julien Olivain via buildroot
2025-09-11 21:27 ` [Buildroot] [PATCH v5 9/9] package/kvm-unit-tests: allow kvmtool to be used Alex Bennée

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