aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rt-tester
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-06-30 13:27:31 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2022-06-30 16:06:22 +0200
commita898d950c28b297568417061b2003f504a7af109 (patch)
tree9d8e5097e0ffbc105b6ef2cb6763f8e7ed1be347 /scripts/rt-tester
parentwireguard: selftests: use microvm on x86 (diff)
downloadlinux-dev-master.tar.xz
linux-dev-master.zip
x86/setup: Allow passing RNG seeds via e820 setup tableHEADmaster
Currently the only way x86 can get an early boot RNG seed is via EFI, which is generally always used now for physical machines, but is very rarely used in VMs, especially VMs that are optimized for starting "instantaneously", such as Firecracker's MicroVM. Here, we really want the ability for the firmware to pass a random seed, similar to what OF platforms do with the "rng-seed" property. It also would be nice for bootloaders to be able to append seeds to the kernel before launching. This patch accomplishes that by adding SETUP_RNG_SEED, similar to the other 7 SETUP_* entries that are parsed from the e820 setup table. I've verified that this works well with QEMU. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'scripts/rt-tester')
0 files changed, 0 insertions, 0 deletions