Re: [Qemu-devel] [PATCH] Add a command to QMP to list the supported devices

2014-02-24 Thread Paolo Bonzini
> You are correct. I need "-device ?" functionality for porting libguestfs to > mingw Interesting! Why is "-device ?" not enough? I think that libguestfs should not need anything that qom-list-types does not provide. Paolo

Re: [Qemu-devel] [PATCH] Add a command to QMP to list the supported devices

2014-02-24 Thread Eric Blake
On 02/24/2014 02:23 AM, Or Goshen wrote: > From: Or Goshen > > Was done on behalf of Intel Corp. > > --- > +++ b/qapi-schema.json > @@ -526,6 +526,32 @@ > { 'command': 'query-commands', 'returns': ['CommandInfo'] } > > ## > +# @DeviceInfo: > +# > +# Information about a device > +# > +# @nam

Re: [Qemu-devel] [PATCH] Add a command to QMP to list the supported devices

2014-02-24 Thread Or Goshen
You are correct. I need "-device ?" functionality for porting libguestfs to mingw On Mon, Feb 24, 2014 at 3:40 PM, Andreas Färber wrote: > Am 24.02.2014 10:31, schrieb Paolo Bonzini: > > Il 24/02/2014 10:23, Or Goshen ha scritto: > >> From: Or Goshen > >> > >> Was done on behalf of Intel Corp.

Re: [Qemu-devel] [PATCH] Add a command to QMP to list the supported devices

2014-02-24 Thread Paolo Bonzini
Il 24/02/2014 14:40, Andreas Färber ha scritto: Am 24.02.2014 10:31, schrieb Paolo Bonzini: Il 24/02/2014 10:23, Or Goshen ha scritto: From: Or Goshen Was done on behalf of Intel Corp. Hi Or, you can use qom-list-types for this purpose. That can return a list of types, but there is no wa

Re: [Qemu-devel] [PATCH] Add a command to QMP to list the supported devices

2014-02-24 Thread Andreas Färber
Am 24.02.2014 10:31, schrieb Paolo Bonzini: > Il 24/02/2014 10:23, Or Goshen ha scritto: >> From: Or Goshen >> >> Was done on behalf of Intel Corp. > > Hi Or, > > you can use qom-list-types for this purpose. That can return a list of types, but there is no way to access the DeviceClass-specific

Re: [Qemu-devel] [PATCH] Add a command to QMP to list the supported devices

2014-02-24 Thread Paolo Bonzini
Il 24/02/2014 10:23, Or Goshen ha scritto: From: Or Goshen Was done on behalf of Intel Corp. Hi Or, you can use qom-list-types for this purpose. Paolo --- qapi-schema.json | 26 ++ qdev-monitor.c | 28 qmp-commands.hx | 40 +++

[Qemu-devel] [PATCH] Add a command to QMP to list the supported devices

2014-02-24 Thread Or Goshen
From: Or Goshen Was done on behalf of Intel Corp. --- qapi-schema.json | 26 ++ qdev-monitor.c | 28 qmp-commands.hx | 40 3 files changed, 94 insertions(+), 0 deletions(-) diff --git a/qapi-