[elbe-devel] [PATCH v3 1/4] initvm: Remove cirrus vga device

Bastian Germann bage at linutronix.de
Thu Jun 23 21:23:48 CEST 2022


Remove the complete video section to make use of the default,
which is provided on an existing graphics section.

Quoting from the libvirt website:
"""
The video element is the container for describing video devices.
For backwards compatibility, if no video is set but there is a graphics in
domain xml, then libvirt will add a default video according to the guest type.
"""

Link: https://libvirt.org/formatdomain.html
Signed-off-by: Bastian Germann <bage at linutronix.de>
Tested-by: Holger Dengler <holger at hdengler.de>
---
 elbepack/init/libvirt.xml.mako | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/elbepack/init/libvirt.xml.mako b/elbepack/init/libvirt.xml.mako
index b91b849bc5..6451be1c6f 100644
--- a/elbepack/init/libvirt.xml.mako
+++ b/elbepack/init/libvirt.xml.mako
@@ -67,9 +67,6 @@ xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
     <input type='mouse' bus='ps2' />
     <input type='keyboard' bus='ps2' />
     <graphics type='spice' autoport='yes' />
-    <video>
-      <model type='cirrus' vram='9216' heads='1' />
-    </video>
     <rng model='virtio'>
       <backend model='random' />
     </rng>
-- 
2.30.2



More information about the elbe-devel mailing list