<type> as child element of <capability>

Specifies the category of a VFIO mediated device.

Text content

None.

Selected attributes

id
The type of a VFIO mediated device. For a KVM host on IBM® Z, the type can be vfio_ccw-io for a pass-through DASD, or it can be vfio_ap-passthrough for cryptographic adapter resources.

Usage

Managing mediated devices with libvirt

Parent elements

<capability>

Child elements

None.

Example

<device>
  <name>mdev_96c03c6a_a109_44fe_816a_ba371542164b</name>
  <path>/sys/devices/css0/0.0.0072/96c03c6a-a109-44fe-816a-ba371542164b_0_0_0072</path>
  <parent>css_0_0_0072</parent>
  <driver>
    <name>vfio_mdev</name>
  </driver>
  <capability type="mdev">
    <type id="vfio_ccw-io"/>
    <uuid>96c03c6a-a109-44fe-816a-ba371542164b</uuid>
    <iommuGroup number="1"/>
  </capability>
</device>