From Fedora Project Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 36: | Line 36: | ||
== Tests == | == Tests == | ||
The first thing you need to do is choose which PCI device on your KVM host that you will use for testing. Probably the most obvious to test with is a NIC. You'll need the device's nodedev name, and you can find this with | The first thing you need to do is choose which PCI device on your KVM host that you will use for testing. Probably the most obvious to test with is a NIC. You'll need the device's nodedev name, and you can find this with e.g. | ||
<pre> | <pre> | ||
$> virsh nodedev-list -- | $> for iii in $(virsh nodedev-list --cap net); do virsh nodedev-dumpxml $iii | grep parent; done | ||
<parent>pci_8086_10bd</parent> | |||
<parent>computer</parent> | |||
$> virsh nodedev-dumpxml pci_8086_10bd | $> virsh nodedev-dumpxml pci_8086_10bd | ||
<device> | <device> |