Re: [PATCH 02/10] kvm/vfio: Reduce the scope of PPC #ifdefs

Christoph Hellwig
2022-04-15T14:36:59Z

On Fri, Apr 15, 2022 at 09:35:04AM -0300, Jason Gunthorpe wrote:
> Actually, it defeats the whole point of this patch. I wrote it so I
> could compile test all this stuff on x86 - if I shift it into a
> vfio_ppc.c and make some kconfig stuff then it still won't compile
> test on x86.
>
> At that point I'd rather leave the ifdefs as-is and drop this patch.
>
> Yes, the #ifdef is ugly, but this whole PPC thing is ugly :\

I'd rather leave it as is then.