diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-10-30 17:45:05 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-11-16 08:36:13 -0600 |
commit | 904d6f588063fb5ad2b61998acdf1e73fb465067 (patch) | |
tree | 12d966d8fff1c6d36965a615c0afd75af22111ab /backends/rng-egd.c | |
parent | 16c915ba42b45df7a64a6908287f03bfa3764bed (diff) |
virtio-rng: add rate limiting support
This adds parameters to virtio-rng-pci to allow rate limiting the entropy a
guest receives. An example command line:
$ qemu -device virtio-rng-pci,max-bytes=1024,period=1000
Would limit entropy collection to 1Kb/s.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'backends/rng-egd.c')
0 files changed, 0 insertions, 0 deletions