xics: Add comment about CPU hotplug
PATCH 1/1 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 <[email protected]>
--- hw/intc/xics.c | 1 + 1 file changed, 1 insertion(+)
hw/intc/xics.c +1 -0
@@ -363,6 +363,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) {
Quoted 4 lines · Greg Kurz
So that no one is tempted to drop that code, which is never called for cold plugged CPUs.
Signed-off-by Greg Kurz <[email protected]>
Reviewed-by Cédric Le Goater <[email protected]>
Thanks,
C.
David Gibson
AppliedQuoted 4 lines · Greg Kurz
So that no one is tempted to drop that code, which is never called for cold plugged CPUs.
Signed-off-by Greg Kurz <[email protected]>
Applied, thanks.
Quoted 17 lines
--- hw/intc/xics.c | 1 + 1 file changed, 1 insertion(+)hw/intc/xics.c +1
-0@@ -363,6 +363,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) {
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson