Greg Kurz a4d4edce7a xics: add reset() handler to ICPStateClass
Taking into account that qemu_set_irq() returns immediatly if its first
argument is NULL, icp_kvm_reset() largely duplicates icp_reset().

This patch introduces a reset() handler, so that the common logic can
be implemented in icp_reset() only.

While there we can also drop icp_kvm_realize() and icp_kvm_unrealize(). This
causes icp-kvm to be realized in icp_realize(), which sets icp->xics, but
it has no impact.

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>
2017-06-08 14:38:27 +10:00
..
2016-10-04 13:28:07 +01:00
2017-06-02 11:33:53 +04:00
2017-06-05 10:09:14 +01:00
2017-06-06 10:00:34 +01:00
2017-06-02 05:54:43 +01:00
2017-06-02 14:07:53 +01:00
2017-01-27 18:07:59 +01:00
2017-06-05 10:09:14 +01:00
2017-06-07 11:16:22 +01:00
2017-05-18 10:01:08 +01:00
2017-05-30 14:15:04 +01:00
2017-06-06 08:53:24 +10:00
2017-06-05 10:09:14 +01:00
2017-06-04 18:42:55 +03:00
2017-06-04 18:42:55 +03:00
2016-10-28 18:17:24 +03:00
2017-05-30 14:15:04 +01:00
2017-06-05 10:09:14 +01:00