From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5TiG-00082o-FC for qemu-devel@nongnu.org; Thu, 18 Jun 2015 02:54:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5TiC-0004Nn-R9 for qemu-devel@nongnu.org; Thu, 18 Jun 2015 02:54:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5TiC-0004Ng-MM for qemu-devel@nongnu.org; Thu, 18 Jun 2015 02:54:08 -0400 Message-ID: <1434610444.4968.7.camel@redhat.com> From: Gerd Hoffmann Date: Thu, 18 Jun 2015 08:54:04 +0200 In-Reply-To: <87bnge71pe.fsf@blackfin.pond.sub.org> References: <34d6db2f41b9101490b3f3549a9f1c5a85be03c8.1434458391.git.DirtY.iCE.hu@gmail.com> <874mm6g3b8.fsf@blackfin.pond.sub.org> <5581579B.2020402@gmail.com> <87wpz24j0c.fsf@blackfin.pond.sub.org> <55817550.1050606@gmail.com> <87bnge71pe.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 6/6] audio: -audiodev command line option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Paolo Bonzini , qemu-devel@nongnu.org, =?UTF-8?Q?K=C5=91v=C3=A1g=C3=B3_Zolt=C3=A1n?= Hi, > Here's how I'd add back-compat to that baseline. audiodev becomes > optional, but omitting it is deprecated. If you do, you implicitly use > the legacy backend that takes its configuration from the environment. > The legacy backend gets created when a frontend is using it. > > If you think you got a better way to do it, the person to convince is > Gerd. Approach makes sense to me. Either the old config scheme is active, for compatibility, or the new one. Allowing to mix old+new (use -audiodev, but don't specify the name to -device soundcard,audiodev=) is not needed. cheers, Gerd