Re: [libvirt] [Qemu-devel] libvirt doesn't work with qemu 1.0

2012-01-26 Thread Luiz Capitulino
On Wed, 25 Jan 2012 20:55:14 -0700 Eric Blake ebl...@redhat.com wrote: On 12/02/2011 01:32 PM, Anthony Liguori wrote: But we already have to call 'qemu -h' for other reasons; so we might as well be efficient and learn as much as possible from that result than by calling both 'qemu -h' and

Re: [libvirt] [Qemu-devel] libvirt doesn't work with qemu 1.0

2012-01-25 Thread Eric Blake
On 12/02/2011 01:32 PM, Anthony Liguori wrote: But we already have to call 'qemu -h' for other reasons; so we might as well be efficient and learn as much as possible from that result than by calling both 'qemu -h' and 'qemu -qmp ...', in order to probe what qemu supports. Also, 'qemu -qmp'

Re: [libvirt] [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Anthony Liguori
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

Re: [libvirt] [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Jiri Denemark
On Fri, Dec 02, 2011 at 08:50:11 -0600, Anthony Liguori wrote: 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)

Re: [libvirt] [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Anthony Liguori
On 12/02/2011 09:08 AM, Jiri Denemark wrote: On Fri, Dec 02, 2011 at 08:50:11 -0600, Anthony Liguori wrote: 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

Re: [libvirt] [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Eric Blake
On 12/02/2011 08:15 AM, Anthony Liguori wrote: Which of course only works with new enough QEMU that is known to support QMP (which BTW we detect by checking the version number). Or you could just try the -qmp option and if QEMU exits, it doesn't support it. That's going to be a lot more

Re: [libvirt] [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Anthony Liguori
On 12/02/2011 01:29 PM, Eric Blake wrote: On 12/02/2011 08:15 AM, Anthony Liguori wrote: Which of course only works with new enough QEMU that is known to support QMP (which BTW we detect by checking the version number). Or you could just try the -qmp option and if QEMU exits, it doesn't