]> www.infradead.org Git - users/dwmw2/qemu.git/commit
spapr: Fix machine reset deadlock from replay-record
authorNicholas Piggin <npiggin@gmail.com>
Tue, 8 Aug 2023 04:19:57 +0000 (14:19 +1000)
committerCédric Le Goater <clg@kaod.org>
Wed, 6 Sep 2023 09:19:33 +0000 (11:19 +0200)
commit9c7b7f01f982a22b06c0d2f49a0d2466b5f34485
treeaf89f7a334e14e3dc85ab7e911ba895219c3d87e
parent9db680f8fd483521597564b52843151991b3ed55
spapr: Fix machine reset deadlock from replay-record

When the machine is reset to load a new snapshot while being debugged
with replay-record, it is done from another thread, so the CPU does
not run the register setting operations. Set CPU registers directly in
machine reset.

Cc: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/ppc/spapr.c
include/hw/ppc/spapr.h
target/ppc/compat.c
target/ppc/cpu.h