diff options
| author | Richard Henderson | 2019-03-14 23:56:52 +0100 |
|---|---|---|
| committer | Richard Henderson | 2019-05-22 18:38:54 +0200 |
| commit | 3090c980ed06e666a4b394fdb46284f220e091d1 (patch) | |
| tree | 06ddb91f31c25357ca432743baee6a3038fb7e0d /include/exec/exec-all.h | |
| parent | hw/misc/nrf51_rng: Use qemu_guest_getrandom_nofail (diff) | |
| download | qemu-3090c980ed06e666a4b394fdb46284f220e091d1.tar.gz qemu-3090c980ed06e666a4b394fdb46284f220e091d1.tar.xz qemu-3090c980ed06e666a4b394fdb46284f220e091d1.zip | |
hw/misc/bcm2835_rng: Use qemu_guest_getrandom_nofail
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.
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
