]> git.proxmox.com Git - mirror_qemu.git/commit - hw/intc/xics_kvm.c
xics: drop ICPStateClass::cpu_setup() handler
authorGreg Kurz <groug@kaod.org>
Thu, 8 Jun 2017 13:43:08 +0000 (15:43 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 9 Jun 2017 02:17:59 +0000 (12:17 +1000)
commitb1fd36c363d73969841468146ebfb9fd84a5ee52
treecd222ebc11087e6e5d9c1ef38a0359ae7ab023a9
parent9ed656631d73a7564dfe178ca8c48bf049098aaf
xics: drop ICPStateClass::cpu_setup() handler

The cpu_setup() handler is only implemented by xics_kvm, where it really
does a typical "realize" job. Moreover, the realize() handler is called
shortly after cpu_setup(), on the same path.

This patch converts xics_kvm to implement realize() instead of cpu_setup().

Signed-off-by: Greg Kurz <groug@kaod.org>
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