Re: [PATCH v2] vfio: selftests: only build tests on arm64 and x86_64
From: Jason Gunthorpe
Date: Tue Apr 28 2026 - 18:56:13 EST
On Tue, Apr 28, 2026 at 03:53:01PM -0700, David Matlack wrote:
> > > If it is then we don't even need the __LP64__ stuff I posted.
> > >
> > > But when I look at the top-level Makefile and imagine running make
> > > without setting ARCH on the command line on a 32-bit x86 host, ARCH
> > > will be set to SUBARCH, which will be x86.
> >
> > Yep. So the big question is, why doesn't anyone complain about KVM selftests not
> > building on 32-bit? Because they most definitely don't build.
>
> I guess no one's building on 32-bit hosts anymore? :)
Well, if that's the case and kvm is broken too, then just ignore it
and turn on vfio for x86 like kvm does?
No sense in just fixing it for VFIO..
<sigh wishes to have a better build system for userspace selftests>
Jason