Skip to content

Commit a7ebeaf

Browse files
bchaliospb8o
authored andcommitted
fix(doc): entropy related suggestions for guest kernel
Mention the kernel config option for building the virtio-rng device in the guest kernel. Also, mention CONFIG_RANDOM_TRUST_CPU configuration in the kernel docs for enabling guest kernel using hardware instructions for initializing its entropy pool. Signed-off-by: Babis Chalios <[email protected]>
1 parent 0e3789e commit a7ebeaf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/kernel-policy.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Some configuration items that may be of interest are:
2424
* partuuid support - `CONFIG_MSDOS_PARTITION`
2525
* network - `CONFIG_VIRTIO_NET`
2626
* vsock - `CONFIG_VIRTIO_VSOCKETS`
27+
* entropy - `CONFIG_HW_RANDOM_VIRTIO`
28+
* guest RNG - `CONFIG_RANDOM_TRUST_CPU`
29+
* use CPU RNG instructions (if present) to initialize RNG. Available for >= 5.10
2730

2831
There are also guest config options which are dependant on the platform
2932
on which Firecracker is run:

0 commit comments

Comments
 (0)