History | View | Annotate | Download (592 Bytes)
virtio-rng-pci: create a default backend if none exists
This allows you to specify:
$ qemu -device virtio-rng-pci
And things will Just Work with a reasonable default.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
virtio-rng: hardware random number generator device
The Linux kernel already has a virtio-rng driver, this is the deviceimplementation.
When the guest asks for entropy from the virtio hwrng, it puts a bufferin the vq. We then put entropy into that buffer, and push it back to...
virtio-rng: add rate limiting support
This adds parameters to virtio-rng-pci to allow rate limiting the entropy aguest receives. An example command line:
$ qemu -device virtio-rng-pci,max-bytes=1024,period=1000
Would limit entropy collection to 1Kb/s....