xics: Handle KVM ICP realize from the common code
commit8e6e6efef7af41c4d809b6991927949f354836f7
authorGreg Kurz <groug@kaod.org>
Fri, 15 Feb 2019 11:40:00 +0000 (15 12:40 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 17 Feb 2019 23:34:05 +0000 (18 10:34 +1100)
tree50dbc1baae03ddcd50d21aab2bd2841ecc58c9b6
parentd82f397183b41f25e5a2e41c4af887f102de60ef
xics: Handle KVM ICP realize from the common code

The realization of KVM ICP currently follows the parent_realize logic,
which is a bit overkill here. Also we want to get rid of the KVM ICP
class. Explicitely call icp_kvm_realize() from the base ICP realize
function.

Note that ICPStateClass::parent_realize is retained because powernv
needs it.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <155023080049.1011724.15423463482790260696.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/xics.c
hw/intc/xics_kvm.c
include/hw/ppc/xics.h