core-admin/templates/libvirt/devices/pci.xml
Marek Marczykowski-Górecki 402afa1925
pci: use device attach options for disabling strict reset
Since we have now per-device options, it's more logical to use it here,
instead of features with device identifier encoded into feature name.
2017-05-22 03:21:13 +02:00

15 lines
346 B
XML

<hostdev type="pci" managed="yes"
{% if options.get('no-strict-reset', 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 : #}