Bug 1268176
| Summary: | xen qemu binaries no longer live in %_libdir, breaks libvirt Xen VMs | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | xen | Assignee: | Michael Young <m.a.young> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | agedosier, berrange, clalancette, crobinso, itamar, jforbes, kraxel, laine, lantw44, libvirt-maint, m.a.young, veillard, virt-maint |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | xen-4.5.1-11.fc23 xen-4.5.1-13.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-10-23 17:21:44 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Yeah I think the xen package needs to add symlinks at least, since otherwise there's no way to fix pre-existing VMs which have the lib64 path in their XML. xen-4.5.1-11.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-7bb70880ca xen-4.5.1-11.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update xen' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-7bb70880ca xen-4.5.1-11.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. xen-4.5.1-13.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-fca1900745 xen-4.5.1-13.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update xen' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-fca1900745 xen-4.5.1-13.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |
At least on Fedora, xen's qemu binaries now always live in /usr/lib/xen/bin (even on x86_64). Per the package changelog this was changed in 4.5.0-1, in January. Existing Xen VMs on x86_64 Fedora are now broken (because they look in /usr/lib64) and you can't create a new one (because it looks in /usr/lib64). This is affecting at least F22 and F23. Patch should be something like: diff --git a/src/xen/xen_hypervisor.c b/src/xen/xen_hypervisor.c index 431c47a..e7fff85 100644 --- a/src/xen/xen_hypervisor.c +++ b/src/xen/xen_hypervisor.c @@ -2144,9 +2144,7 @@ xenHypervisorBuildCapabilities(virConnectPtr conn, virArch hostarch, if ((guest = virCapabilitiesAddGuest(caps, guest_archs[i].hvm ? VIR_DOMAIN_OSTYPE_HVM : VIR_DOMAIN_OSTYPE_XEN, guest_archs[i].arch, - (hostarch == VIR_ARCH_X86_64 ? - "/usr/lib64/xen/bin/qemu-dm" : - "/usr/lib/xen/bin/qemu-dm"), + "/usr/lib/xen/bin/qemu-dm", (guest_archs[i].hvm ? "/usr/lib/xen/boot/hvmloader" : NULL), if we don't get Xen to move the binaries back.