Bug 826216

Summary: libvirt 0.9.11.3/0.9.12/master unable to work with qemu-kvm-1.0.1 upstream
Product: [Community] Virtualization Tools Reporter: Doug Goldstein <cardoe>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: crobinso, dallan, dyasny
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-13 01:15:54 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:

Description Doug Goldstein 2012-05-29 19:15:59 UTC
Description of problem: libvirt 0.9.11.3 and libvirt 0.9.12 are unable to work with upstream qemu-kvm 1.0.1. In the #kvm channel laine and crobinso brought it up and they were told that the comma is correct. Unfortunately this is already in the wild but maybe we could also convince Avi to change this. The addition of the comma was made by Justin Forbes so potentially someone could ask him what the rational was.

Version-Release number of selected component (if applicable): 0.9.11.3/0.9.12/master

How reproducible:

virsh start test-vm

Steps to Reproduce:
1. Build and install upstream qemu-kvm 1.0.1
2.
3.
  
Actual results:

$ virsh start test-vm
error: Failed to start domain test-vm
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:

$ virsh start test-vm
$

Additional info:

 $ qemu-kvm -version
QEMU emulator version 1.0,1 (qemu-kvm-1.0.1), Copyright (c) 2003-2008 Fabrice Bellard

Comment 1 Dave Allan 2012-05-29 19:38:42 UTC
Doug, are you or anybody planning to submit a patch?

Comment 2 Doug Goldstein 2012-05-29 19:56:50 UTC
Yes. It depends on which way things are leaning. If they're leaning towards patching qemu-kvm to report 1.0.1 instead of 1.0,1 or if the solution is to patch libvirt.

Comment 3 Dave Allan 2012-05-29 21:17:36 UTC
From the discussion on IRC, it sounds like 1.0,1 is already released, so IMO libvirt should be patched to understand it.

Comment 4 Cole Robinson 2013-06-13 01:15:54 UTC
Not sure if anyone cares about this anymore. If they do, send a patch upstream. But really if distros care they should pull the follow on patch in qemu 1.0 stable that fixes the version number.