commit | 47c8c915b1628360d4d7d483e421e49b6bcfc371 | [log] [tgz] |
---|---|---|
author | Greg Kurz <groug@kaod.org> | Wed Oct 23 21:17:40 2019 +0200 |
committer | David Gibson <david@gibson.dropbear.id.au> | Thu Oct 24 09:37:54 2019 +1100 |
tree | 136d99d00f8e8149f1728cd4b002847eb93529a7 | |
parent | cb97526aa47e0590a04bf90579b76584fbc0d79f [diff] |
spapr: Don't request to unplug the same core twice We must not call spapr_drc_detach() on a detached DRC otherwise bad things can happen, ie. QEMU hangs or crashes. This is easily demonstrated with a CPU hotplug/unplug loop using QMP. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <157185826035.3073024.1664101000438499392.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>