Re: [Qemu-devel] QMP's chardev-add less capable than HMP's

2013-02-06 Thread Gerd Hoffmann
On 02/06/13 15:35, Markus Armbruster wrote: > As a general rule, HMP commands must be built on top of the QMP API. > Luiz and others have worked long & hard to make HMP conform to this > rule. > > However, a new command has crept in that violates it. > > QMP's chardev-add runs qmp_chardev_add(),

Re: [Qemu-devel] QMP's chardev-add less capable than HMP's

2013-02-06 Thread Luiz Capitulino
On Wed, 06 Feb 2013 16:28:08 +0100 Paolo Bonzini wrote: > Il 06/02/2013 15:35, Markus Armbruster ha scritto: > > HMP commands must be built on top of the QMP API. > > Luiz and others have worked long & hard to make HMP conform to this > > rule. > > > > However, a new command has crept in that vi

Re: [Qemu-devel] QMP's chardev-add less capable than HMP's

2013-02-06 Thread Paolo Bonzini
Il 06/02/2013 15:35, Markus Armbruster ha scritto: > HMP commands must be built on top of the QMP API. > Luiz and others have worked long & hard to make HMP conform to this > rule. > > However, a new command has crept in that violates it. > > QMP's chardev-add runs qmp_chardev_add(), which suppor

Re: [Qemu-devel] QMP's chardev-add less capable than HMP's

2013-02-06 Thread Anthony Liguori
Gerd Hoffmann writes: > On 02/06/13 15:35, Markus Armbruster wrote: >> As a general rule, HMP commands must be built on top of the QMP API. >> Luiz and others have worked long & hard to make HMP conform to this >> rule. >> >> However, a new command has crept in that violates it. >> >> QMP's cha

Re: [Qemu-devel] QMP's chardev-add less capable than HMP's

2013-02-06 Thread Daniel P. Berrange
On Wed, Feb 06, 2013 at 03:35:13PM +0100, Markus Armbruster wrote: > As a general rule, HMP commands must be built on top of the QMP API. > Luiz and others have worked long & hard to make HMP conform to this > rule. > > However, a new command has crept in that violates it. > > QMP's chardev-add r

[Qemu-devel] QMP's chardev-add less capable than HMP's

2013-02-06 Thread Markus Armbruster
As a general rule, HMP commands must be built on top of the QMP API. Luiz and others have worked long & hard to make HMP conform to this rule. However, a new command has crept in that violates it. QMP's chardev-add runs qmp_chardev_add(), which supports backends * file with parameters in, out *