Re: [PATCH v2 01/14] KVM: selftests: Build and link sefltests/vfio/lib into KVM selftests

Josh Hilke
2026-04-01T23:49:43Z

On Wed, Apr 1, 2026 at 11:18 AM Sean Christopherson <seanjc@google.com> wrote:
>
> On Tue, Mar 31, 2026, Josh Hilke wrote:
> > From: David Matlack <dmatlack@google.com>
> >
> > Include libvfio.mk into the KVM selftests Makefile and link it into all
> > KVM selftests by adding it to LIBKVM_OBJS.
> >
> > Note that KVM selftests build their own copy of sefltests/vfio/lib and
> > the resulting object files are placed in $(OUTPUT)/lib. This allows the
> > KVM and VFIO selftests to apply different CFLAGS when building without
> > conflicting with each other.
> >
> > Cc: Alex Williamson <alex.williamson@redhat.com>
> > Signed-off-by: David Matlack <dmatlack@google.com>
> > Change-Id: Ib76374497945025fff60f77e6c72308e900b33f0
>
> Please drop gerrit's garbage before posting.

Ugh sorry, *face palm*.