diff options
| author | Nicholas Piggin <npiggin@gmail.com> | 2023-08-08 14:19:58 +1000 |
|---|---|---|
| committer | Cédric Le Goater <clg@kaod.org> | 2023-09-06 11:19:33 +0200 |
| commit | b27fcb288bbdb9e2d89ce9ee578a8869f14c579c (patch) | |
| tree | 86e0d262b9b252c8cf2c882ee969b8c786a33483 /ui/gtk.c | |
| parent | 9c7b7f01f982a22b06c0d2f49a0d2466b5f34485 (diff) | |
| download | focaccia-qemu-b27fcb288bbdb9e2d89ce9ee578a8869f14c579c.tar.gz focaccia-qemu-b27fcb288bbdb9e2d89ce9ee578a8869f14c579c.zip | |
spapr: Fix record-replay machine reset consuming too many events
spapr_machine_reset gets a random number to populate the device-tree rng seed with. When loading a snapshot for record-replay, the machine is reset again, and that tries to consume the random event record again, crashing due to inconsistent record Fix this by saving the seed to populate the device tree with, and skipping the rng on snapshot load. Acked-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>
Diffstat (limited to 'ui/gtk.c')
0 files changed, 0 insertions, 0 deletions