diff --git a/backends/rng-random.c b/backends/rng-random.c index aa5b9285f0..a810581393 100644 --- a/backends/rng-random.c +++ b/backends/rng-random.c @@ -113,7 +113,7 @@ static void rng_random_init(Object *obj) rng_random_set_filename, NULL); - s->filename = g_strdup("/dev/random"); + s->filename = g_strdup("/dev/urandom"); s->fd = -1; } diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index 68aba3926e..bf75675fb0 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -327,7 +327,7 @@ Images ------ Along with many other images, the ``min-glib`` image is defined in a Dockerfile -in ``tests/docker/dockefiles/``, called ``min-glib.docker``. ``make docker`` +in ``tests/docker/dockerfiles/``, called ``min-glib.docker``. ``make docker`` command will list all the available images. To add a new image, simply create a new ``.docker`` file under the diff --git a/qemu-options.hx b/qemu-options.hx index c18b79099a..af850923f7 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -4328,7 +4328,7 @@ Creates a random number generator backend which obtains entropy from a device on the host. The @option{id} parameter is a unique ID that will be used to reference this entropy backend from the @option{virtio-rng} device. The @option{filename} parameter specifies which file to obtain -entropy from and if omitted defaults to @option{/dev/random}. +entropy from and if omitted defaults to @option{/dev/urandom}. @item -object rng-egd,id=@var{id},chardev=@var{chardevid}