cpus: Initialize pseudo-random seeds for all guest cpus
commit9c09a2518eac6277c09ee006841c94abe7305e53
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 14 Mar 2019 20:06:29 +0000 (14 13:06 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 22 May 2019 16:38:54 +0000 (22 12:38 -0400)
treefd63e4e66875cd1d0087b04cbfe1f8592abfcabd
parent8d8404f1564496f42b90497e7be635921c000e9d
cpus: Initialize pseudo-random seeds for all guest cpus

When the -seed option is given, call qemu_guest_random_seed_main,
putting the subsystem into deterministic mode.  Pass derived seeds
to each cpu created; which is a no-op unless the subsystem is in
deterministic mode.

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>
cpus.c
include/qom/cpu.h
qemu-options.hx
vl.c