[libvirt-users] pass-through hwrng

lejeczek peljasz at yahoo.co.uk
Wed Oct 19 09:47:18 UTC 2016

hi all

I have in my centos 7 this:

crw-------. 1 root root 10, 183 Oct 11 21:28 /dev/hwrng

and VM  fails, complains like this:

virsh # start volatile-work6
error: Failed to start domain volatile-work6
error: internal error: process exited while connecting to 
monitor: 2016-10-19T09:42:05.988142Z qemu-kvm: -object 
rng-random,id=objrng0,filename=/dev/hwrng: Could not open 
'/dev/hwrng': Permission denied

which reads logical. Now - is this normal that hwrng is 
created with these permissions?
And if yes then how to pass-through it to the VMs?
How to aid VMs with hardware random numbers generator?

many thanks.

More information about the libvirt-users mailing list