summaryrefslogtreecommitdiffstats
path: root/include/qemu/guest-random.h
Commit message (Collapse)AuthorAgeFilesLines
* util: Add qemu_guest_getrandom and associated routinesRichard Henderson2019-05-221-0/+68
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: Laurent Vivier <lvivier@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>