Installation guide

Chapter 12. PCI passthrough
114
The setup is complete and the guest can now use the PCI device.
12.3. PCI passthrough with virt-install
To use PCI passthrough with the virt-install parameter, use the additional --host-device parameter.
1. Identify the PCI device
Identify the PCI device designated for passthrough to the guest. The virsh nodedev-list
command lists all devices attached to the system. The --tree option is useful for identifying
devices attached to the PCI device (for example, disk controllers and USB controllers).
# virsh nodedev-list --tree
For a list of only PCI devices, run the following command:
# virsh nodedev-list | grep pci
In the output from this command, each PCI device is identified by a string, as shown in the
following example output:
pci_0000_00_00_0