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>
Showing
- audio/audio.c 7 additions, 1 deletionaudio/audio.c
- audio/audio.h 1 addition, 0 deletionsaudio/audio.h
- docs/about/deprecated.rst 0 additions, 9 deletionsdocs/about/deprecated.rst
- docs/about/removed-features.rst 7 additions, 0 deletionsdocs/about/removed-features.rst
- hw/audio/intel-hda.c 2 additions, 3 deletionshw/audio/intel-hda.c
- hw/audio/soundhw.c 8 additions, 4 deletionshw/audio/soundhw.c
- include/hw/audio/soundhw.h 2 additions, 2 deletionsinclude/hw/audio/soundhw.h
- qemu-options.hx 24 additions, 27 deletionsqemu-options.hx
- softmmu/vl.c 25 additions, 3 deletionssoftmmu/vl.c
Loading
Please register or sign in to comment