]> Git Repo - qemu.git/commit
spapr: Don't request to unplug the same core twice
authorGreg Kurz <[email protected]>
Wed, 23 Oct 2019 19:17:40 +0000 (21:17 +0200)
committerDavid Gibson <[email protected]>
Wed, 23 Oct 2019 22:37:54 +0000 (09:37 +1100)
commit47c8c915b1628360d4d7d483e421e49b6bcfc371
tree136d99d00f8e8149f1728cd4b002847eb93529a7
parentcb97526aa47e0590a04bf90579b76584fbc0d79f
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 <[email protected]>
Message-Id: <157185826035.3073024.1664101000438499392[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/spapr.c
This page took 0.026895 seconds and 4 git commands to generate.