xics: Explicitely call KVM ICP methods from the common code
commit0e5c7fad9cdc5d431796f899b6a0e860ec93b611
authorGreg Kurz <groug@kaod.org>
Fri, 15 Feb 2019 11:39:48 +0000 (15 12:39 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 17 Feb 2019 23:14:37 +0000 (18 10:14 +1100)
tree8ba6e6e7c133305861bae67d933dd62cfde1e73d
parent3a0d802c170c74807c1957f076b555daad867a1f
xics: Explicitely call KVM ICP methods from the common code

The pre_save(), post_load() and synchronize_state() methods of the
ICPStateClass type are really KVM only things. Make that obvious
by dropping the indirections and directly calling the KVM functions
instead.

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