Created attachment 417002 [details] adding device Description of problem: Invalid device is added to the xml for the guest when using virt-manager to add a PCI device to a guest. Trying to add 04:10.0 on my system results in 04:16.0, so it seems and an unnecessary dev->hex conversion is done. The device appears to be added correctly, but when starting the guest, I get the following error: Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 799, in run_domain vm.startup() File "/usr/share/virt-manager/virtManager/domain.py", line 1256, in startup self._backend.create() File "/usr/lib64/python2.6/site-packages/libvirt.py", line 317, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirtError: this function is not supported by the hypervisor: Failed to read product/vendor ID for 0000:04:16.0 If I used 'virsh edit rawhide-test' to edit the slot back to 0x10, the guest boots just fine. Version-Release number of selected component (if applicable): virt-manager-0.8.3-3.fc13.noarch libvirt-0.7.7-3.fc13.x86_64 How reproducible: Every time. Steps to Reproduce: See attached screenshots.
Created attachment 417003 [details] finishing device add
Created attachment 417005 [details] device incorrect in list
Created attachment 417006 [details] failure when starting guest
Should be fixed by the libvirt version in updates-testing. *** This bug has been marked as a duplicate of bug 582752 ***
Thanks, Cole. Does this problem exist in RHEL6 too?
Nope, RHEL6 libvirt is several releases ahead and has this fix already.