Re: [PATCH] vfio: selftests: Add luuid to libvfio.mk's list of libraries, not to the Makefile
From: David Matlack
Date: Tue Jun 30 2026 - 17:45:02 EST
On 2026-06-30 02:28 PM, Sean Christopherson wrote:
> Link to the uuid library as part of libvfio.mk instead of as only linking
> it via VFIO selftests' Makefile, as the whole point of providing libvfio.mk
> is to allow linking the VFIO library functionality into KVM selftests,
> without KVM selftests having to know the gory details or duplicate code.
>
> Cc: Raghavendra Rao Ananta <rananta@xxxxxxxxxx>
> Cc: David Matlack <dmatlack@xxxxxxxxxx>
> Cc: Vipin Sharma <vipinsh@xxxxxxxxxx>
> Cc: Alex Williamson <alex@xxxxxxxxxxx>
> Fixes: e65f1bf8a2db ("vfio: selftests: Extend container/iommufd setup for passing vf_token")
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
Reviewed-by: David Matlack <dmatlack@xxxxxxxxxx>
> ---
>
> I would either like to land this in 7.2-rcN (ideally rc2 or rc3), or take it
> through the KVM x86 tree for 7.3, as it's blocking a KVM selftest[*] that's
> been in the works for more than a year. I can throw the IRQ selftest in its
> own topic branch, so even 7.2-rc5 would be "fine", but I would much prefer to
> get this (or an equivalent fix) into Linus' tree sooner than later.
>
> [*] https://lore.kernel.org/all/20260626213534.3866178-1-seanjc@xxxxxxxxxx
Sounds good to me. Alex can we take this in one of the next RCs?