On 1/30/20 1:24 AM, Christoph wrote:
Hi All,
it is possible to use pci/gpu passthrough with xen and libvirt?
If yes, how is the syntax? Can I get an example?
Yes, host PCI devices can be passed to xen guests using libvirt. Below is
example config of a "managed" PCI host device. For more details see
https://libvirt.org/formatdomain.html#elementsHostDevSubsys
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='xen'/>
<source>
<address domain='0x0000' bus='0x0a' slot='0x10'
function='0x1'/>
</source>
</hostdev>
Regards,
Jim