hw/rx: pass random seed to fdt
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 19 Jul 2022 12:20:33 +0000 (14:20 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 22 Jul 2022 17:01:44 +0000 (19:01 +0200)
commitc287941a4dd5570e4221b0a58590f7231f896e51
tree118376731c65ff1d106cbb3dc7eba0e83ecc1d66
parent5e19cc68fb42c6ecabe5cf37012c887d25ffd144
hw/rx: 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 FDT node is part of the DT specification.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Message-Id: <20220719122033.135902-1-Jason@zx2c4.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/rx/rx-gdbsim.c