Thread (119 messages) 119 messages, 9 authors, 2021-12-21

Re: [PATCH 13/32] KVM: s390: pci: add basic kvm_zdev structure

From: Matthew Rosato <mjrosato@linux.ibm.com>
Date: 2021-12-17 20:27:05
Also in: kvm, lkml

On 12/7/21 3:57 PM, Matthew Rosato wrote:
This structure will be used to carry kvm passthrough information related to
zPCI devices.

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
---
...
quoted hunk ↗ jump to hunk
  static inline bool zdev_enabled(struct zpci_dev *zdev)
diff --git a/arch/s390/kvm/Makefile b/arch/s390/kvm/Makefile
index b3aaadc60ead..95ea865e5d29 100644
--- a/arch/s390/kvm/Makefile
+++ b/arch/s390/kvm/Makefile
@@ -10,6 +10,6 @@ common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o  $(KVM)/async_pf.o \
  ccflags-y := -Ivirt/kvm -Iarch/s390/kvm
  
  kvm-objs := $(common-objs) kvm-s390.o intercept.o interrupt.o priv.o sigp.o
-kvm-objs += diag.o gaccess.o guestdbg.o vsie.o pv.o
+kvm-objs += diag.o gaccess.o guestdbg.o vsie.o pv.o pci.o
This should instead be

kvm-objs-$(CONFIG_PCI) += pci.o

I think this makes sense as we aren't about to do PCI passthrough 
support anyway if the host kernel doesn't support PCI (no vfio-pci, 
etc).   This will quiet the kernel test robot complaints about 
CONFIG_PCI_NR_FUNCTIONS seen on the next patch in this series.
  
  obj-$(CONFIG_KVM) += kvm.o
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help