Here's my current patch queue, containing the irqfd enablement and the debugging support.
I'll send a pull request once "kvm: Fix enable_cap helpers on older gcc" has hit master, as I don't want to break compilation of kvm-all.c. Available on https://github.com/cohuck/qemu.git s390-next 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. David Hildenbrand (3): s390x: remove duplicate definitions of DIAG 501 s390x/kvm: software breakpoint support s390x/kvm: hw debugging support via guest PER facility Jens Freimann (1): linux-headers: update 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 + linux-headers/asm-s390/kvm.h | 28 +++ linux-headers/linux/kvm.h | 7 +- target-s390x/cpu-qom.h | 1 + target-s390x/helper.c | 12 ++ target-s390x/kvm.c | 201 ++++++++++++++++-- 19 files changed, 1109 insertions(+), 330 deletions(-) create mode 100644 hw/intc/s390_flic_kvm.c create mode 100644 include/hw/s390x/adapter.h -- 1.7.9.5
