core-admin/templates/libvirt/devices/pci.xml
Marek Marczykowski-Górecki 93e88e0c22
qubes/ext/pci: implement pci-no-strict-reset/BDF feature
Instead of old per-VM flag 'pci_strictreset', now implement this as
per-device flag using features. To not fail on particular device
assignment set 'pci-no-strict-reset/DEVICE-BDF' to True. For
example 'pci-no-strict-reset/00:1b.0'.

QubesOS/qubes-issues#2257
2016-09-03 20:41:06 +02:00

15 lines
370 B
XML

<hostdev type="pci" managed="yes"
{% if vm.features.get('pci-no-strict-reset/' + device.ident, False) %}
nostrictreset="yes"
{% endif %}
>
<source>
<address
bus="0x{{ device.bus }}"
slot="0x{{ device.device }}"
function="0x{{ device.function }}" />
</source>
</hostdev>
{# vim : set ft=jinja ts=4 sts=4 sw=4 et : #}