]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
xics: Add comment about CPU hotplug
authorGreg Kurz <groug@kaod.org>
Mon, 17 Jun 2019 14:10:33 +0000 (16:10 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 1 Jul 2019 23:43:58 +0000 (09:43 +1000)
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>
hw/intc/xics.c

index 29f7d397813ea674fc35217bb4a8420cdd2413d8..978d7f0886d7f0a6ec8e9e7b27f64dbc91494517 100644 (file)
@@ -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) {