Il 24/02/2014 14:40, Andreas Färber ha scritto:
Am 24.02.2014 10:31, schrieb Paolo Bonzini:
Il 24/02/2014 10:23, Or Goshen ha scritto:
From: Or Goshen <[email protected]>
Was done on behalf of Intel Corp.
Hi Or,
you can use qom-list-types for this purpose.
That can return a list of types, but there is no way to access the
DeviceClass-specific bus, alias, desc values, is there?
The bus value can be retrieved indirectly from the class hierarchy.
Aliases are deprecated.
Desc could be moved to the object class and added to qom-list-types.
It sounds to me as if they are trying to recreate the -device ? output
in machine-readable form.
Indeed. The question is why they need "-device ?". If it is just for
"is the device supported" (as was the case for libvirt before it started
using qom-list-types), then a new command is unnecessary.
Paolo