This series implements a new 'query-device-type' command, that can be used to query TYPE_DEVICE-specific information that is not returned by qom-list-types.
The new field can be used instead of "info qdm" parsing by the device-crash-test script. It can be also used by hotplug test cases, to skip non-hotpluggable device types. Eduardo Habkost (4): qmp: qom_type_get_info() helper qmp: get_device_class() helper qmp: query-device-type command device-crash-test: Use query-device-info for user-creatable check qapi-schema.json | 35 ++++++++++++++++++++++++++ qmp.c | 63 +++++++++++++++++++++++++++++++++++++++-------- scripts/device-crash-test | 19 ++------------ 3 files changed, 90 insertions(+), 27 deletions(-) -- 2.13.5