<driver> as child element of <interface>
Defines a PCI network device as a VFIO pass-through device or configures a virtio network device to use the guest's bounce buffer.
Text content
None.Selected attributes
- iommu="on"
- For virtio devices on guests that are to run in IBM® Secure Execution
mode: with this attribute, you enable the device to use the guest's bounce buffer. Use this attribute only if the
launchSecurity element at the virtual server level is not an
option.
With the preferred launchSecurity element, you enable all virtio devices to use the bounce buffer by default, see Preparing the virtual server.
- queues=<n>
- For virtio interfaces, the number of queues, that the interface uses for parallel processing of incoming and outgoing packets. Specify an integer in the range 2 to the number of available virtual CPUs.
- name="vfio"
- Specifies the virtualization technique as VFIO. Unless you are configuring an
interface that is based on a VFIO device, omit this attribute or specify the default,
vhost
. Specifyingqemu
can result in poor performance.
Usage
Parent element
Child elements
None.Examples
<interface type="direct">
<source dev="bond0" mode="bridge"/>
<model type="virtio"/>
<driver iommu="on"/>
</interface>
<interface mode="subsystem" type="hostdev">
<driver name="vfio"/>
<source>
<address domain="0x0004" bus="0x00" slot="0x00" function="0x0"/>
</source>
<address type="pci">
<zpci uid="0x0002" fid="0x00000011"/>
</address>
</intrface>
<interface type="direct">
<source network="net01"/>
<model type="virtio"/>
<driver queues="2"/>
</interface>