Received: from eggs.gnu.org ([2001:4830:134:3::10]:59574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z58Tq-0001aX-Us for qemu-devel@nongnu.org; Wed, 17 Jun 2015 04:13:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z58Tm-0002mJ-TX for qemu-devel@nongnu.org; Wed, 17 Jun 2015 04:13:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z58Tm-0002m2-Nv for qemu-devel@nongnu.org; Wed, 17 Jun 2015 04:13:50 -0400 From: Markus Armbruster References: <34d6db2f41b9101490b3f3549a9f1c5a85be03c8.1434458391.git.DirtY.iCE.hu@gmail.com> Date: Wed, 17 Jun 2015 10:13:47 +0200 In-Reply-To: <34d6db2f41b9101490b3f3549a9f1c5a85be03c8.1434458391.git.DirtY.iCE.hu@gmail.com> (=?utf-8?B?IkvFkXbDoWfDsywgWm9sdMOhbiIncw==?= message of "Tue, 16 Jun 2015 14:49:09 +0200") Message-ID: <874mm6g3b8.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: =?utf-8?B?S8WRdsOhZ8OzLCBab2x0w6Fu?= Cc: Paolo Bonzini , qemu-devel@nongnu.org, Gerd Hoffmann "K=C5=91v=C3=A1g=C3=B3, Zolt=C3=A1n" writes: > This patch adds an -audiodev command line option, and deprecates the QEMU= _* > environment variables for audio backend configuration. It's syntax is sim= ilar to > existing options (-netdev, -device, etc): > -audiodev driver_name,property=3Dvalue,... Sounds really good. Please wrap your commit message lines a bit earlier, around column 70. > Audio drivers now get an Audiodev * as config paramters, instead of the g= lobal > audio_option structs. There is some code in audio/audio_legacy.c that con= verts > the old environment variables to audiodev options (this way backends do n= ot have > to worry about legacy options, also print out them with -audio-help, to e= ase > migrating to -audiodev). The parenthesis isn't as clear as the rest of your message, probably because it deals with two separate things. Suggest to move out the bit about help into its own paragraph. > Although now it's possible to specify multiple -audiodev options on comma= nd > line, multiple audio backends are not supported yet. What happens when I specify multiple -audiodev? How should the command line look like when multiple audio backends are supported? Do we have a clear backward-compatible path from here to there? [...] > 18 files changed, 994 insertions(+), 1083 deletions(-) > create mode 100644 audio/audio_legacy.c Very nice delta, but the size is a bit intimidating :) [...]