]> git.proxmox.com Git - mirror_qemu.git/commit
xics: Explicitely call KVM ICS methods from the common code
authorGreg Kurz <groug@kaod.org>
Fri, 15 Feb 2019 11:40:18 +0000 (12:40 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 17 Feb 2019 23:39:24 +0000 (10:39 +1100)
commitd80b2ccfa741dd689634ce6c2b2a703d7d449319
treee48e255ec6602d2ca7ea2da63bf276cbad3dedf7
parent8c1ced677dd0d7ebe96abb634d7398cd64236b11
xics: Explicitely call KVM ICS methods from the common code

The pre_save(), post_load() and synchronize_state() methods of the
ICSStateClass 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: <155023081817.1011724.14078777320394028836.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