Hopefully should be close now... v4->v5: - dropped "s390x/kvm: msi route fixup for non-pci" - reworked "s390x/sclp: properly guard pci-specific functions": the configure/deconfigure stuff is about I/O adapters, we were missing checks, and I used an incorrect return code -- please review - collected more r-bs
Cornelia Huck (9): 9pfs: fix dependencies kvm: remove hard dependency on pci s390x/pci: add stubs s390x: chsc nt2 events are pci-only s390x/pci: do not advertise pci on non-pci builds s390x/ccw: create s390 phb conditionally s390x/sclp: properly guard pci-specific functions s390x/pci: fence off instructions for non-pci s390x: refine pci dependencies accel/kvm/kvm-all.c | 6 ++-- default-configs/s390x-softmmu.mak | 2 +- fsdev/Makefile.objs | 9 ++--- hw/9pfs/Makefile.objs | 2 +- hw/Makefile.objs | 2 +- hw/pci/pci-stub.c | 16 ++++++++- hw/pci/pci.c | 2 ++ hw/s390x/Makefile.objs | 3 +- hw/s390x/s390-pci-bus.c | 18 +++------- hw/s390x/s390-pci-bus.h | 12 ++----- hw/s390x/s390-pci-stub.c | 76 +++++++++++++++++++++++++++++++++++++++ hw/s390x/s390-virtio-ccw.c | 14 ++++---- hw/s390x/sclp.c | 39 +++++++++++++++++--- include/hw/pci/pci.h | 2 ++ include/hw/s390x/sclp.h | 17 ++++++--- target/s390x/ioinst.c | 16 +++++++++ target/s390x/kvm.c | 58 ++++++++++++++++++++++-------- 17 files changed, 227 insertions(+), 67 deletions(-) create mode 100644 hw/s390x/s390-pci-stub.c -- 2.13.5