On 10/05/2019 03:24, Richard Henderson wrote:
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 during clone; which is a no-op unless the
subsystem is in deterministic mode.
Cc: Laurent Vivier <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
---
v5: Retain srand() until last user goes away.
---
linux-user/main.c | 30 +++++++++++++++++++-----------
linux-user/syscall.c | 3 +++
2 files changed, 22 insertions(+), 11 deletions(-)
Reviewed-by: Laurent Vivier <[email protected]>