On 06/05/2019 19:33, Richard Henderson wrote:
This routine is intended to produce high-quality random numbers to the
guest. Normally, such numbers are crypto quality from the host, but a
command-line option can force the use of a fully deterministic sequence
for use while debugging.
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com>
Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
include/qemu/guest-random.h | 68 +++++++++++++++++++++++++++
util/guest-random.c | 93 +++++++++++++++++++++++++++++++++++++
util/Makefile.objs | 1 +
3 files changed, 162 insertions(+)
create mode 100644 include/qemu/guest-random.h
create mode 100644 util/guest-random.c
Reviewed-by: Laurent Vivier <lviv...@redhat.com>