qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] error: qcrypto_random_bytes() tried to read from /dev/[


From: Geert Martin Ijewski
Subject: Re: [Qemu-devel] error: qcrypto_random_bytes() tried to read from /dev/[u]random, even on windows
Date: Mon, 24 Apr 2017 18:33:26 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

> We can have the existing qcrypto_init() call a qcrypto_random_init()
> method to do the one-time initialization task, since that's already
> required to run early in order to initialize gnutls when we use it.

Wouldn't it make sense to also move the unix initalization to that function?

And what about deinitalization? Though because that handle needs to stay valid throughout the whole lifetime of QEMU anyway, that probably can be ignored and taken care of by the OS

Regards,
Geert



reply via email to

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