Re: [PATCH] vfio: selftests: Store libvfio build outputs in $(OUTPUT)/libvfio

From: Alex Williamson

Date: Thu Nov 06 2025 - 23:34:27 EST


On Mon, 22 Sep 2025 22:48:57 +0000
David Matlack <dmatlack@xxxxxxxxxx> wrote:

> Store the tools/testing/selftests/vfio/lib outputs (e.g. object files)
> in $(OUTPUT)/libvfio rather than in $(OUTPUT)/lib. This is in
> preparation for building the VFIO selftests library into the KVM
> selftests (see Link below).
>
> Specifically this will avoid name conflicts between
> tools/testing/selftests/{vfio,kvm/lib and also avoid leaving behind
> empty directories under tools/testing/selftests/kvm after a make clean.
>
> Link: https://lore.kernel.org/kvm/20250912222525.2515416-2-dmatlack@xxxxxxxxxx/
> Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx>
> ---
>
> Note: This patch applies on top of vfio/next.
>
> https://github.com/awilliam/linux-vfio/tree/next
>
> tools/testing/selftests/vfio/lib/libvfio.mk | 20 +++++++++++---------
> 1 file changed, 11 insertions(+), 9 deletions(-)

Applied to vfio next branch for v6.19. Thanks,

Alex