qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH risu] use time() as random seed and introduce --randseed opti


From: Alex Bennée
Subject: Re: [PATCH risu] use time() as random seed and introduce --randseed option
Date: Wed, 03 May 2023 18:03:52 +0100
User-agent: mu4e 1.11.4; emacs 29.0.90

Jun Sun <jsun@junsun.net> writes:

> By default, risu currently does not generate random instruction sequences 
> because it uses 0 as the random seed. 
> This patch uses time() as random seed and also introduces --randomseed option 
> for deterministic sequence
> generation.

I can see the benefit for being able to change the seed but I think
using time() by default means any given sequence won't be reproducible.
This is useful behaviour if you want to regenerate the same test
sequence on another machine without copying stuff about.

>
> [4. text/x-diff; 
> 0008-add-randseed-option-and-use-time-as-default-seed.patch]...


-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro



reply via email to

[Prev in Thread] Current Thread [Next in Thread]