diff mbox series

kvm_config: Enable HW_RANDOM_VIRTIO

Message ID 20190425185513.16943-1-bigeasy@linutronix.de (mailing list archive)
State New, archived
Headers show
Series kvm_config: Enable HW_RANDOM_VIRTIO | expand

Commit Message

Sebastian Andrzej Siewior April 25, 2019, 6:55 p.m. UTC
Enable the HW random generator for kvm configs. Speeds up the
initialisation of the random pool which is used by the getrandom()
syscall.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 kernel/configs/kvm_guest.config | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/kernel/configs/kvm_guest.config b/kernel/configs/kvm_guest.config
index 208481d910903..27eef024169f0 100644
--- a/kernel/configs/kvm_guest.config
+++ b/kernel/configs/kvm_guest.config
@@ -32,3 +32,5 @@  CONFIG_SCSI_LOWLEVEL=y
 CONFIG_SCSI_VIRTIO=y
 CONFIG_VIRTIO_INPUT=y
 CONFIG_DRM_VIRTIO_GPU=y
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_VIRTIO=y