aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2019-06-17 16:10:33 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2019-07-02 09:43:58 +1000
commitd9b9e6f6b91ed96d8e882d48ae83403b3a5c2b87 (patch)
tree33a65277e88fbf7bfa9cc4bd0cafca924e73a404 /hw/intc
parent7701aeed0f0162fe9f6d1bb1ccba158b55a2ded4 (diff)
downloadqemu-d9b9e6f6b91ed96d8e882d48ae83403b3a5c2b87.zip
qemu-d9b9e6f6b91ed96d8e882d48ae83403b3a5c2b87.tar.gz
qemu-d9b9e6f6b91ed96d8e882d48ae83403b3a5c2b87.tar.bz2
xics: Add comment about CPU hotplug
So that no one is tempted to drop that code, which is never called for cold plugged CPUs. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <156078063349.435533.12283208810037409702.stgit@bahia.lan> Reviewed-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/xics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/intc/xics.c b/hw/intc/xics.c
index 29f7d39..978d7f0 100644
--- a/hw/intc/xics.c
+++ b/hw/intc/xics.c
@@ -351,6 +351,7 @@ static void icp_realize(DeviceState *dev, Error **errp)
return;
}
+ /* Connect the presenter to the VCPU (required for CPU hotplug) */
if (kvm_irqchip_in_kernel()) {
icp_kvm_realize(dev, &err);
if (err) {