On Fri, 30 Mar 2012 09:49:20 +0200
Paolo Bonzini <pbonz...@redhat.com> wrote:

> Regarding device_add ? and device_add foo,? I would implement it as
> separate QMP commands hooking into QOM, such as qom_list_types (taking
> the superclass as an optional argument) and qom_properties.  But the
> latter first needs static properties to move up from devices to objects.

Yes, after I suggested query-devices I remembered about qom_list_types.

I think it's ok for hmp.c to use it even if it's not declared stable yet,
right?

Anthony, you said you did it in your tree differently, did you? I think
using qom_list_types is the way to go here...

Reply via email to