<attr>

Specifies an attribute of a VFIO mediated device.

Text content

None.

Selected attributes

name
The name of the attribute.
value
The value of the attribute.

Usage

Managing mediated devices with libvirt

Parent elements

<capability>

Child elements

None.

Example

<device>
    <parent>ap_matrix</parent>
    <capability type="mdev">
        <type id="vfio_ap-passthrough"/>
        <attr name="assign_adapter" value="0x09"/>
        <attr name="assign_domain" value="0x0001"/>
    </capability>
</device>