[PVE-User] virtio-rng

Holger Hampel | RA Consulting h.hampel at rac.de
Wed Jun 1 13:06:33 CEST 2016


Hello,

I have problems with services in Linux VMs which use /dev/random. If there is not enough entropy derived von hardware events (which are less on VMs), the access to /dev/random blocks. See: man 4 random

There is an virtio driver for this:

http://wiki.qemu-project.org/Features-Done/VirtIORNG

I activated the driver in vm.conf:

args: -device virtio-rng-pci

and get an error when starting the VM:

kvm: -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3: PCI: slot 3 function 0 not available for virtio-balloon-pci, in use by virtio-rng-pci

I asume, this might be solved by adding some bus configuration, but I have no idea what I can choose.

Regards
Holger Hampel


More information about the pve-user mailing list