Merge remote-tracking branch 'origin/pr/341'
* origin/pr/341: libvirt xen: Add gfx_passthru and device_video
This commit is contained in:
commit
4a56064adb
@ -751,6 +751,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<cmdline>root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 nopat</cmdline>
|
<cmdline>root=/dev/mapper/dmroot ro nomodeset console=hvc0 rd_NO_PLYMOUTH rd.plymouth.enable=0 plymouth.enable=0 nopat</cmdline>
|
||||||
</os>
|
</os>
|
||||||
<features>
|
<features>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc' adjustment='reset'>
|
<clock offset='utc' adjustment='reset'>
|
||||||
<timer name="tsc" mode="native"/>
|
<timer name="tsc" mode="native"/>
|
||||||
@ -826,6 +828,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset="variable" adjustment="0" basis="localtime" />
|
<clock offset="variable" adjustment="0" basis="localtime" />
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
@ -884,6 +888,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset="variable" adjustment="0" basis="localtime" />
|
<clock offset="variable" adjustment="0" basis="localtime" />
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
@ -951,6 +957,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset="variable" adjustment="0" basis="localtime" />
|
<clock offset="variable" adjustment="0" basis="localtime" />
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
@ -1015,6 +1023,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc' adjustment='reset'>
|
<clock offset='utc' adjustment='reset'>
|
||||||
<timer name="tsc" mode="native"/>
|
<timer name="tsc" mode="native"/>
|
||||||
@ -1085,6 +1095,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset='utc' adjustment='reset'>
|
<clock offset='utc' adjustment='reset'>
|
||||||
<timer name="tsc" mode="native"/>
|
<timer name="tsc" mode="native"/>
|
||||||
@ -1242,6 +1254,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset="variable" adjustment="0" basis="localtime" />
|
<clock offset="variable" adjustment="0" basis="localtime" />
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
@ -1324,6 +1338,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset="variable" adjustment="0" basis="localtime" />
|
<clock offset="variable" adjustment="0" basis="localtime" />
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
@ -1425,6 +1441,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset="variable" adjustment="0" basis="localtime" />
|
<clock offset="variable" adjustment="0" basis="localtime" />
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
@ -1499,6 +1517,8 @@ class TC_90_QubesVM(QubesVMTestsMixin, qubes.tests.QubesTestCase):
|
|||||||
<acpi/>
|
<acpi/>
|
||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
|
<xen>
|
||||||
|
</xen>
|
||||||
</features>
|
</features>
|
||||||
<clock offset="variable" adjustment="0" basis="localtime" />
|
<clock offset="variable" adjustment="0" basis="localtime" />
|
||||||
<on_poweroff>destroy</on_poweroff>
|
<on_poweroff>destroy</on_poweroff>
|
||||||
|
@ -61,13 +61,15 @@
|
|||||||
<apic/>
|
<apic/>
|
||||||
<viridian/>
|
<viridian/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if vm.devices['pci'].persistent() | list
|
|
||||||
and vm.features.get('pci-e820-host', True) %}
|
|
||||||
<xen>
|
<xen>
|
||||||
|
{% if vm.devices['pci'].persistent() | list
|
||||||
|
and vm.features.get('pci-e820-host', True) %}
|
||||||
<e820_host state="on"/>
|
<e820_host state="on"/>
|
||||||
|
{% endif %}
|
||||||
|
{% if vm.features.check_with_template('gfx-passthru', False) %}
|
||||||
|
<gfx_passthru state="on"/>
|
||||||
|
{% endif %}
|
||||||
</xen>
|
</xen>
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</features>
|
</features>
|
||||||
|
|
||||||
@ -186,12 +188,14 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
/>
|
/>
|
||||||
<input type="tablet" bus="usb"/>
|
<input type="tablet" bus="usb"/>
|
||||||
<video>
|
{% if vm.features.check_with_template('video-model', 'vga') != 'none' %}
|
||||||
<model type="{{ vm.features.check_with_template('video-model', 'vga') }}"/>
|
<video>
|
||||||
</video>
|
<model type="{{ vm.features.check_with_template('video-model', 'vga') }}"/>
|
||||||
{% if vm.features.check_with_template('linux-stubdom', True) %}
|
</video>
|
||||||
{# TODO only add qubes gui if gui-agent is not installed in HVM #}
|
{% if vm.features.check_with_template('linux-stubdom', True) %}
|
||||||
<graphics type="qubes"/>
|
{# TODO only add qubes gui if gui-agent is not installed in HVM #}
|
||||||
|
<graphics type="qubes"/>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<console type="pty">
|
<console type="pty">
|
||||||
|
Loading…
Reference in New Issue
Block a user