s390x/virtio-ccw: wire up irq routing and irqfds
commitd426d9fba8ea5d728038a9bea6a7c51f11941157
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 15 Jul 2013 15:45:03 +0000 (15 17:45 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 20 May 2014 11:05:58 +0000 (20 13:05 +0200)
tree447cd6550e5d99703763c96e12c83f699c71275f
parent7bca3892cb951afb5945480b090e3fb93578cd6a
s390x/virtio-ccw: wire up irq routing and irqfds

Make use of the new s390 adapter irq routing support to enable real
in-kernel irqfds for virtio-ccw with adapter interrupts.

Note that s390 doesn't provide the common KVM_CAP_IRQCHIP capability, but
rather needs KVM_CAP_S390_IRQCHIP to be enabled. This is to ensure backward
compatibility.

Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
hw/intc/s390_flic.c
hw/intc/s390_flic_kvm.c
hw/s390x/virtio-ccw.c
hw/s390x/virtio-ccw.h
include/hw/s390x/adapter.h [new file with mode: 0644]
include/hw/s390x/s390_flic.h
include/qemu/typedefs.h
include/sysemu/kvm.h
kvm-all.c
kvm-stub.c
target-s390x/kvm.c