The Audiodev QAPI type is not introspectable via query-qmp-schema as
nothing in QEMU uses it. -audiodev is not introspectable via
query-command-line-options because it avoided legacy QemuOpts
Even once that is fixed, the introspection lies about what is
actually possible because nearly all the audio backends are compile
time conditional, but the QAPI schema is fixed.
The last patch is a trivial addition that aided my debugging while
investigating the problems and not directly related/dependant.
Daniel P. Berrangé (3):
qapi, audio: add query-audiodev command
qapi, audio: respect build time conditions in audio schema
qapi: provide a friendly string representation of QAPI classes
audio/audio.c | 35 ++++++++++++++++++++++++++
audio/audio_legacy.c | 41 +++++++++++++++++++++++++++++-
audio/audio_template.h | 16 ++++++++++++
qapi/audio.json | 57 ++++++++++++++++++++++++++++++++++--------
scripts/qapi/schema.py | 3 +++
5 files changed, 141 insertions(+), 11 deletions(-)
--
2.29.2