Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

14.7.8. Creating Devices on Host Nodes

The virsh nodedev-create file command allows you to create a device on a host node and then assign it to a guest virtual machine. libvirt normally detects which host nodes are available for use automatically, but this command allows for the registration of host hardware that libvirt did not detect. The file should contain the XML for the top level <device> description of the node device.
To stop this device, use the nodedev-destroy device command.