core-admin/templates/libvirt/devices/pci.xml
Wojtek Porczyk ba20254888 Rewrite PCI attaching/detaching from xl to libvirt
The only remaining part is querying vm-side BDF. That can't be done
in libvirt.
2016-06-16 13:29:15 +02:00

11 lines
265 B
XML

<hostdev type="pci" managed="yes">
<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 : #}