Subject: Re: bug#36380: service urandom-seed takes too long on boot

From: Stefan <[email-masked]>
Date: Mon, 28 Dec 2020 00:28:09 +0100

Hi Leo!

> What does the argument "filename=/dev/random" do? Does it use the host's
> /dev/random to provide entropy to the QEMU guest?

Yes, see [1]:

“-object rng-random,id=id,filename=/dev/random
Creates a random number generator backend which obtains entropy from a device on the host. The id parameter is a unique ID that will be used to reference this entropy backend from the virtio-rng device. The filename parameter specifies which file to obtain entropy from and if omitted defaults to /dev/urandom.”

Bye

Stefan

[1] https://www.qemu.org/docs/master/system/invocation.html#hxtool-10