xics: Handle KVM ICS reset from the "simple" ICS code
commitf1f5b701b8978f7d783c3582252a3475c762800d
authorGreg Kurz <groug@kaod.org>
Fri, 15 Feb 2019 11:40:24 +0000 (15 12:40 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sun, 17 Feb 2019 23:41:27 +0000 (18 10:41 +1100)
tree6d0788877290341285898463e0699307469c2bc6
parentd80b2ccfa741dd689634ce6c2b2a703d7d449319
xics: Handle KVM ICS reset from the "simple" ICS code

The KVM ICS reset handler simply writes the ICS state to KVM. This
doesn't need the overkill parent_reset logic we have today. Also
we want to use the same ICS type for the KVM and non-KVM case with
pseries.

Call icp_set_kvm_state() from the "simple" ICS reset function.

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