mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
Kernel: Add base support for VirtRNG (VirtIO based Hardware RNG)
This is a very basic implementation that only requests 4096 bytes of entropy from the host once, but its still high quality entropy so it should be a good fix for #4490 (boot-time entropy starvation) for virtualized environments. Co-authored-by: Sahan <sahan.h.fernando@gmail.com>
This commit is contained in:
parent
d1f7a2f9a5
commit
e4d9fa914e
5 changed files with 144 additions and 0 deletions
|
@ -57,6 +57,7 @@ $SERENITY_EXTRA_QEMU_ARGS
|
|||
-chardev stdio,id=stdout,mux=on
|
||||
-device virtconsole,chardev=stdout
|
||||
-device isa-debugcon,chardev=stdout
|
||||
-device virtio-rng-pci
|
||||
-soundhw pcspk
|
||||
-device sb16
|
||||
"
|
||||
|
@ -77,6 +78,7 @@ $SERENITY_EXTRA_QEMU_ARGS
|
|||
-chardev stdio,id=stdout,mux=on
|
||||
-device virtconsole,chardev=stdout
|
||||
-device isa-debugcon,chardev=stdout
|
||||
-device virtio-rng-pci
|
||||
-soundhw pcspk
|
||||
-device sb16
|
||||
"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue