<source> as child element of <hostdev>

Specifies the host view of a pass-through device configuration.

Text content

None.

Selected attributes

None.

Usage

Parent elements

Child elements

Example

<devices>
   ...
   <hostdev mode="subsystem" type="scsi">
      <source>
         <adapter name="scsi_host0"/>
         <address bus="0" target="0" unit="0"/>
      </source>
      <address type="drive" controller="0" bus="0" target="0" unit="0"/>
   </hostdev>
   ...   
   <hostdev mode="subsystem" type="pci" managed="yes">
      <driver name="vfio"/>
      <source>
         <address domain="0x0002" bus="0x00" slot="0x00" function="0x0"/>
      </source>
      <address type="pci"> 
         <zpci uid="0x0001" fid="0x00000000"/>
      </address>
   </hostdev>
   ...
</devices>