[Qemu-devel] [PATCH 7/8] virtio-rng: add rate limiting support

2012-10-31 Thread Anthony Liguori
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 --- hw/virtio-pci.c | 7 +++ hw/virtio-rng

[Qemu-devel] [PATCH 7/8] virtio-rng: add rate limiting support

2012-10-30 Thread Anthony Liguori
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 --- hw/virtio-pci.c | 7 +++ hw/virtio-rng