All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v4 0/9] kvm-unit-tests: update deps and fine tune qemu
@ 2025-08-05 15:18 Alex Bennée
  2025-08-05 15:18 ` [Buildroot] [PATCH v4 1/9] toolchain/external: allow installing of libc utils Alex Bennée
                   ` (8 more replies)
  0 siblings, 9 replies; 20+ messages in thread
From: Alex Bennée @ 2025-08-05 15:18 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 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      | 17 +++++-
 ...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, 156 insertions(+), 73 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] 20+ messages in thread

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

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

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.