Sometimes the VM guests does not have enough entropy, and will block inside certain operations until the system deems there is enough randomess (e.g. zypper in or curl https://example.com).
With the VirtIO random number generator (a.k.a. virtio-rng) the guests will no longer blocks.
The virtio-rng device should be generally well supported, as it is added to QEMU back in 2012 and its driver in the Linux kernel kernel since version 2.6.26. IIRC in cases where the guests does not support the virtio-rng device will simply be ignored, thus not causing any trouble.
Sometimes the VM guests does not have enough entropy, and will block inside certain operations until the system deems there is enough randomess (e.g.
zypper in
orcurl https://example.com
).This can be observed using strace:
With the VirtIO random number generator (a.k.a. virtio-rng) the guests will no longer blocks.
The virtio-rng device should be generally well supported, as it is added to QEMU back in 2012 and its driver in the Linux kernel kernel since version 2.6.26. IIRC in cases where the guests does not support the virtio-rng device will simply be ignored, thus not causing any trouble.