libvirt xen: Add just device_video

Re-introduce part of "libvirt xen: Add gfx_passthru and device_video"
commit by Artur Puzio <contact@puzio.waw.pl>
This commit is contained in:
Marek Marczykowski-Górecki 2020-06-10 16:32:48 +02:00
parent 4f04a1db91
commit bda82c894d
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -189,12 +189,14 @@
{% endif %}
/>
<input type="tablet" bus="usb"/>
<video>
<model type="{{ vm.features.check_with_template('video-model', 'vga') }}"/>
</video>
{% if vm.features.check_with_template('linux-stubdom', True) %}
{# TODO only add qubes gui if gui-agent is not installed in HVM #}
<graphics type="qubes"/>
{% if vm.features.check_with_template('video-model', 'vga') != 'none' %}
<video>
<model type="{{ vm.features.check_with_template('video-model', 'vga') }}"/>
</video>
{% if vm.features.check_with_template('linux-stubdom', True) %}
{# TODO only add qubes gui if gui-agent is not installed in HVM #}
<graphics type="qubes"/>
{% endif %}
{% endif %}
{% endif %}
<console type="pty">