summaryrefslogtreecommitdiffstats
path: root/scripts/modules/module_block.py
diff options
context:
space:
mode:
authorRichard Henderson2019-03-14 22:55:26 +0100
committerRichard Henderson2019-05-22 18:38:54 +0200
commit9d44cb5b2ae10b224e91abb68e6f06a58af43389 (patch)
treefe92c1297a162b4d5024302d3f9cadbeddc00260 /scripts/modules/module_block.py
parentlinux-user: Remove srand call (diff)
downloadqemu-9d44cb5b2ae10b224e91abb68e6f06a58af43389.tar.gz
qemu-9d44cb5b2ae10b224e91abb68e6f06a58af43389.tar.xz
qemu-9d44cb5b2ae10b224e91abb68e6f06a58af43389.zip
aspeed/scu: 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> Reviewed-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts/modules/module_block.py')
0 files changed, 0 insertions, 0 deletions