From d9b9e6f6b91ed96d8e882d48ae83403b3a5c2b87 Mon Sep 17 00:00:00 2001 From: Greg Kurz Date: Mon, 17 Jun 2019 16:10:33 +0200 Subject: [PATCH] xics: Add comment about CPU hotplug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So that no one is tempted to drop that code, which is never called for cold plugged CPUs. Signed-off-by: Greg Kurz Message-Id: <156078063349.435533.12283208810037409702.stgit@bahia.lan> Reviewed-by: Cédric Le Goater Signed-off-by: David Gibson --- hw/intc/xics.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 29f7d39781..978d7f0886 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) {