<driver> as child element of <hostdev>

Defines a PCI device as a VFIO pass-through device.

Text content

None.

Selected attributes

name="vfio"
Specifies the virtualization technique as VFIO.

Usage

Parent elements

Child elements

None.

Example


    <hostdev mode="subsystem" type="pci">
       <driver name="vfio"/>
       <source>
         <address domain="0x0002" bus="0x00" slot="0x00" function="0x0"/>
       </source>
       <address type="pci"> 
          <zpci uid="0x0001" fid="0x00000000"/>
       </address>
    </hostdev>