Il 10/04/2012 16:23, Luiz Capitulino ha scritto: >> > 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. >> > I'll take a look at that. > Have you?
Yes, patches were on the list. I'll submit v2 tomorrow or thursday. > I think that for device_add foo,? we could introduce qom-list-type-properties. > Seems simple if limited to devices, not sure how to make it generic though. With those patches you can make it generic. Paolo