|
From: | Paolo Bonzini |
Subject: | Re: Let's remove some deprecated stuff |
Date: | Thu, 29 Apr 2021 13:06:13 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 29/04/21 11:59, Markus Armbruster wrote:
Gerd Hoffmann: Creating sound card devices using ``-soundhw`` (since 5.1) '''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Sound card devices should be created using ``-device`` instead. The names are the same for most devices. The exceptions are ``hda`` which needs two devices (``-device intel-hda -device hda-duplex``) and ``pcspk`` which can be activated using ``-machine pcspk-audiodev=<name>``.
For this to go away, I'd rather have something like the -nic option that provides an easy way to set up the front end and back end.
In other words you would do something like -audiohw <audiodev-args>,model=xxx and it gets desugared automatically to either
-audiodev <audiodev-args>,id=foo -device devname,audiodev=xxx or -audiodev <audiodev-args>,id=foo -M propname=foo Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |