On 06/05/2019 19:33, Richard Henderson wrote:
The random number is intended for use by the guest.  As such, we should
honor the -seed argument for reproducibility.  Use the *_nofail routine
instead of rolling our own error handling locally.

Cc: qemu-...@nongnu.org
Cc: Andrew Baumann <andrew.baum...@microsoft.com>
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  hw/misc/bcm2835_rng.c | 32 ++++++++++++++------------------
  1 file changed, 14 insertions(+), 18 deletions(-)

Reviewed-by: Laurent Vivier <lviv...@redhat.com>



Reply via email to