summaryrefslogtreecommitdiffstats
path: root/linux-user/target_flat.h
diff options
context:
space:
mode:
authorJason A. Donenfeld2022-09-21 11:31:33 +0200
committerPaolo Bonzini2022-09-27 11:30:59 +0200
commit763a2828bf313ed55878b09759dc435355035f2e (patch)
tree151fab0b966105101675bda0f0d351a4192394d9 /linux-user/target_flat.h
parentx86: use typedef for SetupData struct (diff)
downloadqemu-763a2828bf313ed55878b09759dc435355035f2e.tar.gz
qemu-763a2828bf313ed55878b09759dc435355035f2e.tar.xz
qemu-763a2828bf313ed55878b09759dc435355035f2e.zip
x86: reinitialize RNG seed on system reboot
Since this is read from fw_cfg on each boot, the kernel zeroing it out alone is insufficient to prevent it from being used twice. And indeed on reboot we always want a new seed, not the old one. So re-fill it in this circumstance. Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Message-Id: <20220921093134.2936487-3-Jason@zx2c4.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-user/target_flat.h')
0 files changed, 0 insertions, 0 deletions