OSDN Git Service

x86: do not re-randomize RNG seed on snapshot load
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 25 Oct 2022 00:43:19 +0000 (02:43 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 27 Oct 2022 10:34:31 +0000 (11:34 +0100)
commit14b29fea742034186403914b4d013d0e83f19e78
tree15088b24c572a6ebc91c7cf202bfc4fcea3fb40a
parente1e618b9a0f9c23e9caa5933fa30ee3d33e00bfe
x86: do not re-randomize RNG seed on snapshot load

Snapshot loading is supposed to be deterministic, so we shouldn't
re-randomize the various seeds used.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Message-id: 20221025004327.568476-4-Jason@zx2c4.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/i386/x86.c