On 11 February 2017 at 11:34, Alex Bennée <alex.ben...@linaro.org> wrote:
> I know we are running under emulation but is rand() the right call to > feed data to the guest? There is the virtio rng and PPC spar RNG which > both use rng_backend_request_entropy() to collect random data. We should > probably make the Pi RNG as good as the other guests. See discussion on v1 of this patch -- the rng backend is probably the right idea but its API is a huge pain in the neck. I suggested Marcin do a v2 which still uses rand() so we can get everything else reviewed, and then deal with the rng stuff separately. (Notably I think that for the rng backend you have to on the command line create and wire up a backend, which is a lot of pain. There doesn't seem to be any kind of "use a sane default" available :-( ) thanks -- PMM