diff options
author | Pierre Morel <pmorel@linux.ibm.com> | 2022-08-19 14:29:45 +0200 |
---|---|---|
committer | Janosch Frank <frankja@linux.ibm.com> | 2022-08-29 13:29:28 +0200 |
commit | ca922fecda6caa5162409406dc3b663062d75089 (patch) | |
tree | cc9d7611856a91bfa5465f22061dd36faee3d638 /arch/riscv | |
parent | b90cb1053190353cc30f0fef0ef1f378ccc063c5 (diff) |
KVM: s390: pci: Hook to access KVM lowlevel from VFIO
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@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Pierre Morel <pmorel@linux.ibm.com>
Fixes: 09340b2fca007 ("KVM: s390: pci: add routines to start/stop interpretive execution")
Cc: <stable@vger.kernel.org>
Acked-by: Janosch Frank <frankja@linux.ibm.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/20220819122945.9309-1-pmorel@linux.ibm.com
Message-Id: <20220819122945.9309-1-pmorel@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Diffstat (limited to 'arch/riscv')
0 files changed, 0 insertions, 0 deletions