402afa1925
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.
15 lines
346 B
XML
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 : #}
|