Il 26/07/2012 16:10, Anthony Liguori ha scritto: > Yup. > > You could do: > > qom-list-types implements=TYPE_DEVICE > > And that will give you the various types. We'll need to add a: > > device-list-properties typename=FOO > > I've got a patch locally for that that I'm testing right now. Paolo and > I never came to an agreement on how to do this generically for Objects > but I'm happy with a device-specific interface for the short term.
I don't like the idea of using object_new, but it obviously works at least for now, so go ahead and call it qom-type-list-properties. Paolo
