nodedev-create

Creates active transient VFIO mediated devices from node-device XML files.

Syntax


1  nodedev-create <mdev_host_device_xml_file>

Selected options

<mdev_host_device_xml_file>
A specification, in node-device XML format, for the mediated device to be created.

Usage

Example

This example uses a node-device XML file, mdev_vfiocss72.xml, to create a mediated device mdev_96c03c6a_a109_44fe_816a_ba371542164b_0_0_0072.
# cat mdev_vfiocss72.xml
<device>
    <parent>css_0_0_0072</parent>
    <capability type="mdev">
        <type id="vfio_ccw-io"/>
        <uuid>96c03c6a-a109-44fe-816a-ba371542164b</uuid>
    </capability>
</device>
# virsh nodedev-create mdev_vfiocss72.xml
Node device mdev_96c03c6a_a109_44fe_816a_ba371542164b_0_0_0072 created from mdev_vfiocss72.xml