Error creating a VM: internal error: No PCI buses available

Bug #1379346 reported by Felix Geyer on 2014-10-09
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Critical
Chris J Arges

Bug Description

In utopic creating a libvirt VM (through virt-manager or virt-install) fails with: internal error: No PCI buses available.

This is caused by an Ubuntu patch in the qemu package that changes the default machine type to pc-i440fx-utopic.
It also adds an alias "ubuntu" for pc-i440fx-utopic. This seems to be the one actually used.

libvirt has some rules hard-coded how to set up the PCI bus depending on the machine type.
Obviously it doesn't check for "ubuntu".

Attached is a patch that extend the libvirt checks for the ubuntu machine type.

Felix Geyer (debfx) wrote :
summary: - Erro create a VM: internal error: No PCI buses available
+ Error creating a VM: internal error: No PCI buses available
Chris J Arges (arges) on 2014-10-09
Changed in libvirt (Ubuntu):
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Chris J Arges (arges)
Chris J Arges (arges) wrote :

Thanks, I've sponsored this patch and uploaded it to Utopic.

tags: added: patch
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 1.2.8-0ubuntu11

---------------
libvirt (1.2.8-0ubuntu11) utopic; urgency=medium

  [ Felix Geyer ]
  * d/p/ubuntu_machine_type.patch: Fix No PCI buses available. (LP: #1379346).
 -- Chris J Arges <email address hidden> Thu, 09 Oct 2014 08:57:27 -0500

Changed in libvirt (Ubuntu):
status: In Progress → Fix Released
ocean (ocean-ieee) wrote :

It's not fixed! experiencing the same problem when converting a MIPS target on 14.10....

still not fixed.... +1

Serge Hallyn (serge-hallyn) wrote :

Please open a new bug showing the exact command you are using (and which release/version) which fails.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers