introduce -audio as a replacement for -soundhw
commit039a68373c4544ff94871f945a733928b6dcfe93
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 27 Apr 2022 10:27:46 +0000 (27 12:27 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 14 May 2022 10:33:44 +0000 (14 12:33 +0200)
tree9a4d966054f19e7c967a5d9c046d9ab184ab0fc3
parent67aaa96ae451913ffd25766dc59341fe6b63619d
introduce -audio as a replacement for -soundhw

-audio is used like "-audio pa,model=sb16".  It is almost as simple as
-soundhw, but it reuses the -audiodev parsing machinery and attaches an
audiodev to the newly-created device.  The main 'feature' is that
it knows about adding the codec device for model=intel-hda, and adding
the audiodev to the codec device.

In the future, it could be extended to support default models or
builtin devices, just like -nic, or even a default backend.  For now,
keep it simple.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
audio/audio.c
audio/audio.h
docs/about/deprecated.rst
docs/about/removed-features.rst
hw/audio/intel-hda.c
hw/audio/soundhw.c
include/hw/audio/soundhw.h
qemu-options.hx
softmmu/vl.c