From bda82c894dde06e23d4d01b7ebbc255029107e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 10 Jun 2020 16:32:48 +0200 Subject: [PATCH] libvirt xen: Add just device_video Re-introduce part of "libvirt xen: Add gfx_passthru and device_video" commit by Artur Puzio --- templates/libvirt/xen.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/libvirt/xen.xml b/templates/libvirt/xen.xml index 7d41facb..31289548 100644 --- a/templates/libvirt/xen.xml +++ b/templates/libvirt/xen.xml @@ -189,12 +189,14 @@ {% endif %} /> - - {% if vm.features.check_with_template('linux-stubdom', True) %} - {# TODO only add qubes gui if gui-agent is not installed in HVM #} - + {% if vm.features.check_with_template('video-model', 'vga') != 'none' %} + + {% if vm.features.check_with_template('linux-stubdom', True) %} + {# TODO only add qubes gui if gui-agent is not installed in HVM #} + + {% endif %} {% endif %} {% endif %}