Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#33146 - [qemu] qemu-kvm merge breaks existing libvirt virtual machines
Attached to Project:
Arch Linux
Opened by Marti (intgr) - Thursday, 20 December 2012, 19:17 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 31 January 2013, 21:10 GMT
Opened by Marti (intgr) - Thursday, 20 December 2012, 19:17 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 31 January 2013, 21:10 GMT
|
DetailsJust a heads-up, since qemu-kvm was merged into qemu in testing, its binary path also changed.
However, libvirt remembers the qemu path from the time the VM was initially created, so existing VMs will still attempt to run /usr/bin/qemu-kvm. Clearly that will break. Options: 1. Create a symlink from /usr/bin/qemu-system-$ARCH to /usr/bin/qemu-kvm? 2. Inform users that they should change the "emulator" path in every VM. This *cannot* be done from the virt-manager GUI. One way is running 'virsh edit <vm-name>' and then editing the XML by hand. 3. Bug libvirt upstreams to work out a better solution? Other distros will hit this problem too at some point. |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Thursday, 31 January 2013, 21:10 GMT
Reason for closing: Fixed
Additional comments about closing: 1.3.1-1
Thursday, 31 January 2013, 21:10 GMT
Reason for closing: Fixed
Additional comments about closing: 1.3.1-1
"Error starting domain: internal error Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /usr/bin/qemu-kvm -help) unexpected exit status 1" .
A further attempt with a wrapper script, which gives back the version if called with "-help", gives:
"Error starting domain: internal error cannot parse /usr/bin/qemu-kvm version number in 'qemu-i386 version 1.3.0, Copyright (c) 2003-2008 Fabrice Bellard'"
The second option comes down to roughly the same error messages (/kvm/i386/).
Conclusion : The combination qemu-1.3.0-1 and libvirt-1.0.1-2 does not work out of the box, due to what appears to be a parsing error in libvirt. That leaves option 3 (bug upstream) or option 4 (wait until others hit the issue).
A postinst mentioning:
virsh edit $VMNAME
should suffice.