-
Ian Molton authored
This patch converts virtio-rng to the new hw_rng API. In the process it fixes a previously untriggered buffering bug where the buffer is not drained correctly if it has a non-multiple-of-4 length. Performance has improved under qemu-kvm testing also. Signed-off-by:
Ian Molton <ian.molton@collabora.co.uk> Acked-by:
Matt Mackall <mpm@selenic.com> Acked-by:
Rusty Russell <rusty@rustcorp.com.au> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
bb347d98