[libvirt] [PATCHv2 5/8] qemu: Implement support for default 'random' backend for virtio-rng
Eric Blake
eblake at redhat.com
Sat Feb 23 00:00:16 UTC 2013
On 02/21/2013 07:47 AM, Peter Krempa wrote:
> This patch implements support for the virtio-rng-pci device and the
> rng-random backend in qemu.
>
> Two capabilities bits are added to track support for those:
>
> QEMU_CAPS_DEVICE_VIRTIO_RNG - for the device support and
> QEMU_CAPS_OBJECT_RNG_RANDOM - for the backend support.
Is there ever going to be a qemu with backend support but not the
device? I guess the opposite is possible though - having the device,
but being built with only one backend out of a set of backends available
in qemu source code. I guess keeping this as two capability bits makes
sense.
>
> qemu is invoked with these additional parameters if the device is
> enabled:
>
> -object rng-random,id=rng0,filename=/test/phile (to add the backend)
> -device virtio-rng-pci,rng=rng0,bus=pci.0,addr=0x4 (to add the device)
> ---
>
> Notes:
> Version 2:
> - don't use different error messages for similar issues
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130222/e73348e4/attachment-0001.sig>
More information about the libvir-list
mailing list