[elbe-devel] [PATCH] Add a virtio random device to libvirt

Torben Hohn torben.hohn at linutronix.de
Tue Sep 10 14:17:16 CEST 2019


On Fri, Sep 06, 2019 at 08:16:35PM +0200, bage at linutronix.de wrote:
> From: Bastian Germann <bage at linutronix.de>
> 
> All the direct qemu calls use a virtio random device.
> Add it to the initvm libvirt template as well.
> 
> Signed-off-by: Bastian Germann <bage at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn at linutronix.de>

> ---
>  elbepack/init/libvirt.xml.mako | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/elbepack/init/libvirt.xml.mako b/elbepack/init/libvirt.xml.mako
> index a0e1f2ef..cd277f57 100644
> --- a/elbepack/init/libvirt.xml.mako
> +++ b/elbepack/init/libvirt.xml.mako
> @@ -70,6 +70,9 @@ xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
>      <video>
>        <model type='cirrus' vram='9216' heads='1' />
>      </video>
> +    <rng model='virtio'>
> +      <backend model='random' />
> +    </rng>
>      <memballoon model='none' />
>      <disk type='file' device='disk'>
>      <driver name='qemu' type='${imagetype}' />
> -- 
> 2.20.1
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner



More information about the elbe-devel mailing list