libxl guest fails to start due to incorrect emulator setting
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/
2. when loading old configs replace qemu-dm by the new path
affects: | ubuntu → libvirt (Ubuntu) |
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 libxl-hvmloader -path.patch: Get Xen version from dpkg-query
for new configs and convert old configs using qemu-dm.
(LP: #1459600)
* d/p/ubuntu-
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