Hi, here's the next version of my patchset implementing irqfds for s390x. This has been reworked to make use of flic methods; in order to make this work, the flic had to be split into a kvm part (which basically offers the same functionality as the 'old' flic) and a non-kvm part (which basically does nothing).
Changes from v4: - capability helpers are already upstream - use flic methods for I/O adapter registration and mapping - move direct interaction with the routing code from virtio-ccw to the flic Also available on https://github.com/cohuck/qemu.git s390x-irqfd Please review. Cornelia Huck (4): s390x: split flic into kvm and non-kvm parts s390x: Add I/O adapter registration. s390x/virtio-ccw: reference-counted indicators s390x/virtio-ccw: Wire up irq routing and irqfds. default-configs/s390x-softmmu.mak | 3 +- hw/intc/Makefile.objs | 1 + hw/intc/s390_flic.c | 325 +++++----------------------- hw/intc/s390_flic_kvm.c | 420 +++++++++++++++++++++++++++++++++++++ hw/s390x/css.c | 50 +++++ hw/s390x/css.h | 4 + hw/s390x/virtio-ccw.c | 237 ++++++++++++++++++--- hw/s390x/virtio-ccw.h | 16 +- include/hw/s390x/adapter.h | 23 ++ include/hw/s390x/s390_flic.h | 65 +++++- include/qemu/typedefs.h | 1 + include/sysemu/kvm.h | 2 + kvm-all.c | 38 +++- kvm-stub.c | 5 + target-s390x/kvm.c | 5 + 15 files changed, 880 insertions(+), 315 deletions(-) create mode 100644 hw/intc/s390_flic_kvm.c create mode 100644 include/hw/s390x/adapter.h -- 1.7.9.5
