Re: [PATCH v2] KVM: s390: pci: Hook to access KVM lowlevel from VFIO

From: Niklas Schnelle
Date: Tue Aug 23 2022 - 12:11:45 EST


On Tue, 2022-08-23 at 09:25 +0200, Janosch Frank wrote:
> On 8/19/22 14:29, Pierre Morel wrote:
> > We have a cross dependency between KVM and VFIO when using
> > s390 vfio_pci_zdev extensions for PCI passthrough
> > To be able to keep both subsystem modular we add a registering
> > hook inside the S390 core code.
> >
> > This fixes a build problem when VFIO is built-in and KVM is built
> > as a module.
> >
> > Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > Reviewed-by: Matthew Rosato <mjrosato@xxxxxxxxxxxxx>
> > Reviewed-by: Niklas Schnelle <schnelle@xxxxxxxxxxxxx>
> > Signed-off-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
> > Fixes: 09340b2fca007 ("KVM: s390: pci: add routines to start/stop interpretive execution")
> > Cc: <stable@xxxxxxxxxxxxxxx>
>
> Acked-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
>
> @Niklas @Matt: Since the patches that introduced the PCI interpretation
> went via the KVM tree I'll also move this patch via the KVM tree.

Sounds good, thanks.