Bug 983306 - Creation of qemu arm7l guest fails with: Unable to complete install: 'XML error: No PCI buses available'
Summary: Creation of qemu arm7l guest fails with: Unable to complete install: 'XML err...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-10 23:11 UTC by Orion Poplawski
Modified: 2013-08-18 19:02 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-18 19:02:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2013-07-10 23:11:55 UTC
Description of problem:

I'm trying to create a new qemu arm7l guest using a pre-built image (Fedora-Minimal-armhfp-19-1-sda.raw), but I get:

Unable to complete install: 'XML error: No PCI buses available'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1920, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1134, in start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1202, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2782, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: XML error: No PCI buses available


Version-Release number of selected component (if applicable):
libvirt-1.0.5.2-1.fc19.x86_64

Comment 1 Cole Robinson 2013-07-11 15:07:56 UTC
Known issue, FYI we are trying to sort this out for F20:

https://fedoraproject.org/wiki/Changes/Virt_ARM_on_x86

Comment 2 Orion Poplawski 2013-07-11 15:38:36 UTC
Is there any workaround at the moment?  virsh define seems to give me the same error.

Comment 3 Cole Robinson 2013-07-11 18:28:25 UTC
(In reply to Orion Poplawski from comment #2)
> Is there any workaround at the moment?  virsh define seems to give me the
> same error.

No unfortunately, libvirt just doesn't know how to build a qemu-system-arm command line correctly. The workaround is using qemu-system-arm directly.

Comment 4 Cole Robinson 2013-08-18 19:02:48 UTC
I've posted a series upstream about this and will be backporting the patches to F20 at least:

www.redhat.com/archives/libvir-list/2013-August/msg00790.html
https://fedoraproject.org/w/index.php?title=Changes/Virt_ARM_on_x86


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