[libvirt-users] virtio_rng in a KVM VM

Hi, I am virtualizing with KVM via libvirt and virt-manager. To have decent amounts of Entropy in the guest, I tried loading virtio_rng in a running VM. Despite the module being loaded, I didn't get any log entries, and also no /dev/hwrng. Do I need to enable the virtualized random generator in libvirt/virt-manager? If so, how do I do that? Is the support for this rather recent feature already implemented in qemu-kvm 1.0, libvirt 0.9.12 and virt-manager 0.9.1? Any hints will be appreciated. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062

On Fri, Jun 22, 2012 at 11:51:48AM +0200, Marc Haber wrote:
Hi,
I am virtualizing with KVM via libvirt and virt-manager. To have decent amounts of Entropy in the guest, I tried loading virtio_rng in a running VM. Despite the module being loaded, I didn't get any log entries, and also no /dev/hwrng.
Do I need to enable the virtualized random generator in libvirt/virt-manager? If so, how do I do that? Is the support for this rather recent feature already implemented in qemu-kvm 1.0, libvirt 0.9.12 and virt-manager 0.9.1?
No host side support for this exists in QEMU/KVM yet http://www.mail-archive.com/qemu-devel@nongnu.org/msg117461.html Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Fri, Jun 22, 2012 at 11:10:10AM +0100, Daniel P. Berrange wrote:
On Fri, Jun 22, 2012 at 11:51:48AM +0200, Marc Haber wrote:
I am virtualizing with KVM via libvirt and virt-manager. To have decent amounts of Entropy in the guest, I tried loading virtio_rng in a running VM. Despite the module being loaded, I didn't get any log entries, and also no /dev/hwrng.
Do I need to enable the virtualized random generator in libvirt/virt-manager? If so, how do I do that? Is the support for this rather recent feature already implemented in qemu-kvm 1.0, libvirt 0.9.12 and virt-manager 0.9.1?
No host side support for this exists in QEMU/KVM yet
http://www.mail-archive.com/qemu-devel@nongnu.org/msg117461.html
Ah, I see. Thanks for the quick answer. Sad news though. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062
participants (2)
-
Daniel P. Berrange
-
Marc Haber