qemu-e2k/hw/openrisc
Jason A. Donenfeld c6fe3e6b4c hw/openrisc: virt: pass random seed to fdt
If the FDT contains /chosen/rng-seed, then the Linux RNG will use it to
initialize early. Set this using the usual guest random number
generation function. This is confirmed to successfully initialize the
RNG on Linux 5.19-rc2.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
2022-09-04 07:02:57 +01:00
..
boot.c hw/openrisc: Split re-usable boot time apis out to boot.c 2022-09-04 07:02:56 +01:00
cputimer.c hw/openrisc: Initialize timer time at startup 2022-09-04 07:02:57 +01:00
Kconfig hw/openrisc: Add PCI bus support to virt 2022-09-04 07:02:57 +01:00
meson.build hw/openrisc: Add the OpenRISC virtual machine 2022-09-04 07:02:57 +01:00
openrisc_sim.c hw/openrisc: Split re-usable boot time apis out to boot.c 2022-09-04 07:02:56 +01:00
virt.c hw/openrisc: virt: pass random seed to fdt 2022-09-04 07:02:57 +01:00