Nicholas Piggin b27fcb288b 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>
2023-09-06 11:19:33 +02:00
..
2023-07-25 17:15:47 +03:00
2023-08-31 08:31:03 -04:00
2023-08-23 12:06:39 +02:00
2023-08-31 19:47:43 +02:00
2023-08-31 19:47:43 +02:00
2023-08-31 19:47:43 +02:00
2023-08-31 19:46:43 +02:00
2023-08-23 12:06:39 +02:00
2023-08-31 19:47:43 +02:00
2023-08-31 09:45:17 +01:00
2023-08-31 19:47:43 +02:00
2023-08-31 19:47:43 +02:00
2023-07-25 17:14:07 +03:00