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 %}