Skip to content

audio: make audiodev introspectable by mgmt apps

Daniel P. Berrangé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qapi, audio: add query-audiodev commandaudio/audio.c qapi/audio.json+32 -07 replies
2/3qapi, audio: respect build time conditions in audio schemaaudio/audio.c audio/audio_legacy.c audio/audio_template.h +1 more+106 -119 replies
3/3qapi: provide a friendly string representation of QAPI classesscripts/qapi/schema.py+3 -03 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchEric BlakePhilippe Mathieu-DaudéMarkus Armbruster
1/3
2/3R-b A-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] audio: make audiodev introspectable by mgmt apps

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(-)
Signature · 1 line
2.29.2