93e88e0c22
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
15 lines
370 B
XML
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 : #}
|