]> git.proxmox.com Git - mirror_qemu.git/commit
spapr/xive: Allocate IPIs independently from the other sources
authorCédric Le Goater <clg@kaod.org>
Thu, 20 Aug 2020 13:45:46 +0000 (15:45 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Sep 2020 00:08:42 +0000 (10:08 +1000)
commitacbdb9956fe93f4669141f103cb543d3025775db
treec6326a48724129d6b1598d099a938c7007a49ce1
parentfa94447a2cd6643609d5822d5b5f739dc8ad8a8c
spapr/xive: Allocate IPIs independently from the other sources

The vCPU IPIs are now allocated in kvmppc_xive_cpu_connect() when the
vCPU connects to the KVM device and not when all the sources are reset
in kvmppc_xive_source_reset()

This requires extra care for hotplug vCPUs and VM restore.

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