Re: [Qemu-devel] [libvirt] 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 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 'qemu -q

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

2012-01-26 Thread Paolo Bonzini
On 01/26/2012 01:46 PM, Eric Blake wrote: > On 01/26/2012 02:41 AM, Paolo Bonzini wrote: >> On 01/26/2012 04:55 AM, Eric Blake wrote: >>> >>> $ /usr/libexec/qemu-kvm -qmp stdio -S -display none >>> qemu-kvm: -display: invalid option >>> $ /usr/libexec/qemu-kvm -qmp stdio -S -nographic >>> chardev:

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

2012-01-26 Thread Eric Blake
On 01/26/2012 02:41 AM, Paolo Bonzini wrote: > On 01/26/2012 04:55 AM, Eric Blake wrote: >> >> $ /usr/libexec/qemu-kvm -qmp stdio -S -display none >> qemu-kvm: -display: invalid option >> $ /usr/libexec/qemu-kvm -qmp stdio -S -nographic >> chardev: opening backend "stdio" failed >> qemu: could not

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

2012-01-26 Thread Markus Armbruster
Paolo Bonzini writes: > On 01/26/2012 04:55 AM, Eric Blake wrote: >> >> $ /usr/libexec/qemu-kvm -qmp stdio -S -display none >> qemu-kvm: -display: invalid option >> $ /usr/libexec/qemu-kvm -qmp stdio -S -nographic >> chardev: opening backend "stdio" failed >> qemu: could not open serial device 's

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

2012-01-26 Thread Paolo Bonzini
On 01/26/2012 04:55 AM, Eric Blake wrote: $ /usr/libexec/qemu-kvm -qmp stdio -S -display none qemu-kvm: -display: invalid option $ /usr/libexec/qemu-kvm -qmp stdio -S -nographic chardev: opening backend "stdio" failed qemu: could not open serial device 'stdio': Argument list too long Have you

Re: [Qemu-devel] [libvirt] 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, '

Re: [Qemu-devel] [libvirt] 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 suppor

Re: [Qemu-devel] [libvirt] 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

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

2011-12-02 Thread Dave Allan
On Fri, Dec 02, 2011 at 03:21:54PM +0100, Gerd Hoffmann wrote: > Hi, > > $subject says all. The error message is: Thanks for the heads up. Dave > error: internal error cannot parse /home/kraxel/bin/qemu-default version > number in 'QEMU emulator version 1.0, Copyright (c) 2003-2008 Fabrice >