diff --git a/templates/libvirt/xen.xml b/templates/libvirt/xen.xml
index 73989674..16724398 100644
--- a/templates/libvirt/xen.xml
+++ b/templates/libvirt/xen.xml
@@ -155,11 +155,9 @@
{% endif %}
/>
- {% if vm.features.check_with_template('linux-stubdom', True) %}
-
- {% else %}
-
- {% endif %}
+
{% if vm.features.check_with_template('linux-stubdom', True) %}
{# TODO only add qubes gui if gui-agent is not installed in HVM #}