Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418035 - app-emulation/libvirt-0.9.11.3 with app-emulation/qemu-kvm-1.0.1 - virsh cannot parse QEMU emulator version 1.0,1 (comma rather than period)
Summary: app-emulation/libvirt-0.9.11.3 with app-emulation/qemu-kvm-1.0.1 - virsh cann...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: IA64 Linux
: Normal normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 19:42 UTC by herzzogemail
Modified: 2012-06-04 06:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description herzzogemail 2012-05-28 19:42:39 UTC
I am new to gentoo bug submission but I didn't see any similar bug reported nor anyone else pointing out how to solve this problem I encountered, so; if duplicated or already patched please relegate to solved.

When updating system in entirety with emerge world, the following error occurs when trying to start a virtual machine:

virsh start test
error: Failed to start domain test
error: internal error cannot parse /usr/bin/qemu-kvm version number in 'QEMU emulator version 1.0,1 (qemu-kvm-1.0.1), Copyright (c) 2003-2008 Fabrice Bellard'

This appears to be caused by /var/tmp/portage/app-emulation/qemu-kvm-1.0.1/work/qemu-kvm-1.0.1/VERSION containing 1.0,1 rather than 1.0.1

Reproducible: Always

Steps to Reproduce:
1. Install app-emulation/libvirt-0.9.11.3 and qemu-kvm-1.0.1 
2. Attempt to start a vm with # virsh start VM_NAME
3. Read error message of internal error cannot parse /usr/bin/qemu-kvm version number in 'QEMU emulator version 1.0,1 (qemu-kvm-1.0.1), Copyright (c) 2003-2008 Fabrice Bellard'
Actual Results:  
virsh start test
error: Failed to start domain test
error: internal error cannot parse /usr/bin/qemu-kvm version number in 'QEMU emulator version 1.0,1 (qemu-kvm-1.0.1), Copyright (c) 2003-2008 Fabrice Bellard'


Expected Results:  
It should have listed version as 1.0.1 instead of 1.0,1 I believe in file VERSION

The solution was to do the following:

FEATURES="keepwork" emerge --oneshot qemu-kvm
cd /var/tmp/portage/app-emulation/qemu-kvm-1.0.1/work/qemu-kvm-1.0.1
Change VERSION from 1.0,1 to 1.0.1
make && make install
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-05-29 20:11:59 UTC
I've quick patched our version to report 1.0.1 but will work on getting upstream libvirt fixed to work with 1.0,1 as well.
Comment 2 Martin Samek 2012-05-30 21:02:39 UTC
there is a new libvirt 0.9.12 - bump
Comment 3 Martin Samek 2012-05-30 21:06:42 UTC
Bug 418307
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-05-30 22:29:54 UTC
(In reply to comment #2)
> there is a new libvirt 0.9.12 - bump

Yep. I'm aware. This issue isn't fixed in 0.9.12 either.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2012-06-04 06:01:42 UTC
I actually can't seem to confirm this. Please attach the XML describing your vm via virsh dumpxml, the output of virsh version --daemon and virsh --version=long

Reopen when you attach it.