|
From: | Stefan Berger |
Subject: | Re: [Qemu-devel] virtio-rng and fd passing |
Date: | Fri, 01 Mar 2013 15:34:27 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
On 03/01/2013 03:04 PM, Anthony Liguori wrote:
Eric Blake <address@hidden> writes:Stefan Berger and I discovered on IRC that virtio-rng is unable to support fd passing. We attempted: qemu-system-x86_64 ... -add-fd set=4,fd=34,opaque=RDONLY:/dev/urandom -object rng-random,id=rng0,filename=/dev/fdset/4 -device virtio-rng-pci,rng=rng0,bus=pci.0,addr=0x6Why are you using th rng-random backend instead of the rng-egd backend?
I followed the example on the libvirt website trying out the XML for the rng device while adpating the libvirt code to use fd passing and generating the -add-fd command line parameters.
You can pass chardevs to the egd backend. It's really not a good idea to pass a fd via rng-rangom.
Fine, then we won't use fd passing for this device, whatever the reason may be.
Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |