spapr/xive: Use kvmppc_xive_source_reset() in post_load
commitfa94447a2cd6643609d5822d5b5f739dc8ad8a8c
authorCédric Le Goater <clg@kaod.org>
Thu, 20 Aug 2020 13:45:45 +0000 (20 15:45 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Sep 2020 00:08:42 +0000 (8 10:08 +1000)
tree0f4e815d7eece470581634192458294aa3b6e023
parent235d3b116213828f4206e2e4b199a32bffc96f35
spapr/xive: Use kvmppc_xive_source_reset() in post_load

This is doing an extra loop but should be equivalent.

It also differentiate the reset of the sources from the restore of the
sources configuration. This will help in allocating the vCPU IPIs
independently.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200820134547.2355743-3-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/intc/spapr_xive_kvm.c