s390x: split flic into kvm and non-kvm parts
authorCornelia Huck <cornelia.huck@de.ibm.com>
Thu, 17 Apr 2014 13:59:48 +0000 (15:59 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 20 May 2014 11:05:57 +0000 (13:05 +0200)
commit7b35d0c44cae3dcce6347a0729a416c2929cd4bb
tree66f476d35c17d537c44bf5fc2bdf9e0a14016bf9
parent61c7bbd236b90da7531fcf957223a2456670d44d
s390x: split flic into kvm and non-kvm parts

Introduce a common parent class for both cases, where kvm and non-kvm
can hook up callbacks. This will be used by follow-on patches for
adapter registration and mapping.

We now always have a flic, regardless of whether we use kvm; the
non-kvm implementation just doesn't do anything.

Reviewed-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
default-configs/s390x-softmmu.mak
hw/intc/Makefile.objs
hw/intc/s390_flic.c
hw/intc/s390_flic_kvm.c [new file with mode: 0644]
include/hw/s390x/s390_flic.h