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@xxxxxxxxxxxxx> --- kernel/configs/kvm_guest.config | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1