From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59890) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWURR-0007xS-IZ for qemu-devel@nongnu.org; Fri, 02 Dec 2011 09:50:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWURM-0003hH-1f for qemu-devel@nongnu.org; Fri, 02 Dec 2011 09:50:21 -0500 Received: from mail-yw0-f45.google.com ([209.85.213.45]:60572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWURL-0003hC-VT for qemu-devel@nongnu.org; Fri, 02 Dec 2011 09:50:16 -0500 Received: by ywe9 with SMTP id 9so3746862ywe.4 for ; Fri, 02 Dec 2011 06:50:14 -0800 (PST) Message-ID: <4ED8E5A3.2080909@codemonkey.ws> Date: Fri, 02 Dec 2011 08:50:11 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <4ED8DF02.5060605@redhat.com> In-Reply-To: <4ED8DF02.5060605@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] libvirt doesn't work with qemu 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: libvir-list@redhat.com, "qemu-devel@nongnu.org" On 12/02/2011 08:21 AM, Gerd Hoffmann wrote: > Hi, > > $subject says all. The error message is: > > error: internal error cannot parse /home/kraxel/bin/qemu-default version > number in 'QEMU emulator version 1.0, Copyright (c) 2003-2008 Fabrice > Bellard' Parsing help output for the version number is a really bad idea. query-version in QMP does the right thing: (QEMU) query-version {u'return': {u'qemu': {u'micro': 0, u'major': 1, u'minor': 0}, u'package': ''}} This is the supported way of figuring out the version number and it's what libvirt should be using. Regards, Anthony Liguori > > cheers, > Gerd > > PS: libvirt-0.9.4-23.el6.x86_64 >