libxl guest fails to start due to incorrect emulator setting

Bug #1459600 reported by Stefan Bader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
High
Stefan Bader

Bug Description

Recent versions of libvirt are using the contents of the emulator option in the devices section. For a while we were using qemu-dm which was correct when the deprecated xm toolstack was in use. Since the option was not really used, there was no need to change this and using the xl stack (through libxl) was automatically picking up the right qemu path.
But now we have to be correct. Upstream assumes a Xen specific binary and path which will at some point be provided through the pkg-config mechanism by libxen-dev. This is not needed for Deabian/Ubuntu because we make use of the qemu binary provided by the qemu package. So we only need to change two things (and they are not upstream-able because they are special):

1. for new configs always use /usr/bin/qemu-system-i386
2. when loading old configs replace qemu-dm by the new path

Stefan Bader (smb)
affects: ubuntu → libvirt (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 1.2.15-0ubuntu3

---------------
libvirt (1.2.15-0ubuntu3) wily; urgency=low

  * d/p/ubuntu-libxl-qemu-path.patch: Set correct path for qemu binary
    for new configs and convert old configs using qemu-dm.
    (LP: #1459600)
  * d/p/ubuntu-libxl-hvmloader-path.patch: Get Xen version from dpkg-query
    at compile time and set LIBXL_FIRMWARE_DIR as long as libxen-dev does
    not provide a xenlight.pc file. Use that directory to update existing
    configs.
    (LP: #1459603)

 -- Stefan Bader <email address hidden> Thu, 28 May 2015 12:21:23 +0200

Changed in libvirt (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.