On Tue, Oct 30, 2018 at 12:13:44PM +0100, Gerd Hoffmann wrote: > Trying to fill the need to be more finegrained on support status ... > > Any hints/patches how to hook that into introspection so we get > machine type / device support status to libvirt are welcome.
We have qom-list-types, but it returns info for all QOM types, not just device types. I see two possible approaches for this: * Decide that every QOM type (devices, backend objects, machine-types) will have this flag, and just add it to qom-list-types. * Add device-list-types or query-device-type commands, specific for TYPE_DEVICE. I'm not sure which one is better. The latter is more conservative and safer, but will require duplicating the same work for machine-types and backend objects later. -- Eduardo