]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Fix timebase reset with record-replay
authorNicholas Piggin <npiggin@gmail.com>
Tue, 8 Aug 2023 04:19:56 +0000 (14:19 +1000)
committerCédric Le Goater <clg@kaod.org>
Wed, 6 Sep 2023 09:19:33 +0000 (11:19 +0200)
commit9db680f8fd483521597564b52843151991b3ed55
tree0c5f723332d1f3c24202f958b73084fa6bb27583
parentcdab53dd223ca5417a70feedb6f8692e5c080aba
target/ppc: Fix timebase reset with record-replay

Timebase save uses a random number for a legacy vmstate field, which
makes rr snapshot loading unbalanced. The easiest way to deal with this
is just to skip the rng if record-replay is active.

Reviewed-by: 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/ppc.c