Bug 644021 - Unable to add <graphics> device to kvm guest -- libvirtError: internal error unable to reserve PCI address
Summary: Unable to add <graphics> device to kvm guest -- libvirtError: internal error ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-18 18:46 UTC by James Laska
Modified: 2013-09-02 06:52 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-24 21:57:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
virt-manager --debug (9.35 KB, text/plain)
2010-10-18 18:46 UTC, James Laska
no flags Details

Description James Laska 2010-10-18 18:46:30 UTC
Created attachment 454192 [details]
virt-manager --debug

Description of problem:

Attempting to add a graphics adapter to a KVM guest results in a traceback.  See attachment for virt-manager --debug output

Version-Release number of selected component (if applicable):
libvirt-0.8.3-2.fc14.x86_64
virt-manager-0.8.5-1.fc14.noarch

How reproducible:
 * Seems to happen everytime ... I've rebooted and restarted libvirtd, same result

Steps to Reproduce:
1. Install Fedora 14
2. Define a KVM guest and install Fedora 13 (testing F13->F14 preupgrade)
3. With guest shutdown, using virt-manager, attempt to add a Graphics device to the system
  
Actual results:

2010-10-18 14:38:23,341 (error:86): Uncaught Error: Error adding device: internal error unable to reserve PCI address 0:0:2 : Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 1043, in add_device
    self.vm.add_device(self._dev)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1486, in add_device
    self._redefine(_add_xml_device, devxml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 152, in _redefine
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1228, in _define
    self.get_connection().define_domain(newxml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 751, in define_domain
    self.vmm.defineXML(xml)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1299, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: internal error unable to reserve PCI address 0:0:2


Expected results:

No traceback

Additional info:

Comment 1 Jason 2011-01-25 15:21:09 UTC
I'm also experiencing the same problem on RHEL 6.0.  When I use the gui to add a "Graphics" or "Video" device, I get the same traceback:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/addhardware.py", line 1043, in add_device
    self.vm.add_device(self._dev)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1478, in add_device
    self._redefine(_add_xml_device, devxml)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 152, in _redefine
    self._define(newxml)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1220, in _define
    self.get_connection().define_domain(newxml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 760, in define_domain
    self.vmm.defineXML(xml)
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1292, in defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self)
libvirtError: internal error unable to reserve PCI address 0:0:2

Comment 2 Fedora Admin XMLRPC Client 2011-09-22 17:56:31 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Admin XMLRPC Client 2011-09-22 18:00:41 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Admin XMLRPC Client 2011-11-30 19:57:05 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2011-11-30 19:58:25 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Fedora Admin XMLRPC Client 2011-11-30 20:03:18 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Fedora Admin XMLRPC Client 2011-11-30 20:03:58 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Cole Robinson 2012-01-24 21:57:09 UTC
Hmm, not sure what caused that issue.

But since F14 is EOL, closting this. Please reopen if this is still relevant in a more recent fedora.


Note You need to log in before you can comment on or make changes to this bug.