From nobody Sun Apr 12 05:58:49 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1771240624; cv=none; d=zohomail.com; s=zohoarc; b=SqvJehuaASSImmjsojud54AUj7K/y9b3gVlaJSsZCXw1Oz1KPrx5TSJJ4NIPXeShl0TgmbR5STlk63abtMc9E/q3co92sjJKezr2jWpPzNsgjzD7FzPyq4OgtnEyh2P7aVJGoQ4GuKlSSbg4XBD2OZ7nhPVBBRGHL3ZuE5IS1Ek= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1771240624; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=VuljhDTSEvIRuZWMVHmH3upAs1bYNZiEpsxb8H2Doiw=; b=VW0AU4uKNRhfYyhrPAa7OrJni2obeBJbuyQnOvRxkO74V7wulktnRB+X1GrBBR38zUH0sWV1ShYfg2GbyVvlmihOU3/oFaA0wI4h70CQxSMUnualOOvazmepLkEFQTvx17PHQRrDOqZG2zd6kqq4Njl3uzFZeRUe8EuGfVnRegQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 177124062454851.57952682287919; Mon, 16 Feb 2026 03:17:04 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vrwa9-0004nm-BF; Mon, 16 Feb 2026 06:16:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vrwa7-0004n6-Pj for qemu-devel@nongnu.org; Mon, 16 Feb 2026 06:15:59 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vrwa6-0007KO-7g for qemu-devel@nongnu.org; Mon, 16 Feb 2026 06:15:59 -0500 Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-216-iZtgyr17M0iD3JE5wpsMFA-1; Mon, 16 Feb 2026 06:15:54 -0500 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id D401E1956053; Mon, 16 Feb 2026 11:15:51 +0000 (UTC) Received: from localhost (unknown [10.45.242.26]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 495551800465; Mon, 16 Feb 2026 11:15:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1771240557; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VuljhDTSEvIRuZWMVHmH3upAs1bYNZiEpsxb8H2Doiw=; b=Pvdao70vnUO5Uq4/o4mOlg8qdnWuODknYCMzaIaoWP5Exm36a2iyRwTgbpuCqzrza3PgIF qd2+xQgut0bEf4d0T/S55e+xizEwKOc3ZvPHfZFtNY3VW6YbxlVoOmPHPnG7GujrgZyPII KAeIY1QRNyU3GoKeXtKrrNICW08FIWY= X-MC-Unique: iZtgyr17M0iD3JE5wpsMFA-1 X-Mimecast-MFC-AGG-ID: iZtgyr17M0iD3JE5wpsMFA_1771240552 From: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= Date: Mon, 16 Feb 2026 12:14:54 +0100 Subject: [PATCH 05/85] qemu-options.hx: clarify default audio backend selection MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260216-audio-v1-5-e676662e4514@redhat.com> References: <20260216-audio-v1-0-e676662e4514@redhat.com> In-Reply-To: <20260216-audio-v1-0-e676662e4514@redhat.com> To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Eduardo Habkost , Paolo Bonzini , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , John Snow , Cleber Rosa , Christian Schoenebeck , Akihiko Odaki , Thomas Huth , Alexandre Ratchov , =?utf-8?q?Alex_Benn=C3=A9e?= , Laurent Vivier , "Michael S. Tsirkin" , Manos Pitsidianakis , Alistair Francis , "Edgar E. Iglesias" , Peter Maydell , qemu-arm@nongnu.org, =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Mark Cave-Ayland X-Developer-Signature: v=1; a=openpgp-sha256; l=2296; i=marcandre.lureau@redhat.com; h=from:subject:message-id; bh=pQYsT12b6ItIPMgGRIh+ZR0w15tO/zqPK/vSleMzRTE=; b=owEBbQKS/ZANAwAKAdro4Ql1lpzlAcsmYgBpkvxOb9dt2y32Y/FDaf8C1TrhPWMaFY/kg3NdL ZeMYcpsaAeJAjMEAAEKAB0WIQSHqb2TP4fGBtJ29i3a6OEJdZac5QUCaZL8TgAKCRDa6OEJdZac 5QFRD/0edP1XArxaXBfn+guGHQ9iSZrkUsjvktz6g29yhu91BAjerkh21m2hmdaNTn0rblFj6hP g1PYUDV0Kya38dRGf82Hxt45XAn/gU27TaKYSQitnN3fsJOMpXysc0aTdQ15YEPuIxoFKHei0gD fN/obH8fBgabgIm4jag4XLFOV5qB8lNgLVPElYY7NEEgi2Y8qYYP0iIZK5+2tIXeHiRMIpfbCYR SResGMpbD3IAoJiKJgCgJbxwloo9GkF4xzIJFX9iJ7g9DiX7oU+LZBsvgjg2hcZ7uQZKHENjaUM bz/BearoPvN6awCZlUwzAZZycoKil5OE1gXId2Hw2G8sbpGc0Nuto7KA3W1qYBhb+lrd07W3y1f ZRJfsWB5qOtRxurDzaaByrok3+zLPh1AbQNU+0itoggb453jM2dnRVSVyfE1dGyhwKMPGm8+ZOc KIyJsVCoWfp8JLzRxjbSNJ+7hW7pl+nvxbXSOC/W2K23tnudLFNR2R/v2uTG+fZFtmbxCBzEmf5 Ii/ycc8ww3VfEtS7g4G8Yf21074CrL+COEtE6ozf501RKT8UOn5guFGOkPB3tJlB4hCoB38p49D KlPy0kAaNMwTn5rwVrqSXj0TC2HAQ05cMDLrSBcEhJf8orqXhPnSgH+Ei1aVVrjbd+jwHzDtTk5 dNtTYqoOOaTP2dQ== X-Developer-Key: i=marcandre.lureau@redhat.com; a=openpgp; fpr=87A9BD933F87C606D276F62DDAE8E10975969CE5 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=marcandre.lureau@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1771240627727154100 Signed-off-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Mark Cave-Ayland --- qemu-options.hx | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 33fcfe7ce66..15a6f82043a 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -896,11 +896,16 @@ DEF("audiodev", HAS_ARG, QEMU_OPTION_audiodev, QEMU_ARCH_ALL) SRST ``-audiodev [driver=3D]driver,id=3Did[,prop[=3Dvalue][,...]]`` - Adds a new audio backend driver identified by id. There are global - and driver specific properties. Some values can be set differently - for input and output, they're marked with ``in|out.``. You can set - the input's property with ``in.prop`` and the output's property with - ``out.prop``. For example: + Adds a new audio backend driver identified by id. + + If no audio backend is specified, QEMU will attempt to select a + default one. The ``-display`` option may influence which backend is + selected. + + There are global and driver specific properties. Some values can be + set differently for input and output, they're marked with ``in|out.``. + You can set the input's property with ``in.prop`` and the output's + property with ``out.prop``. For example: =20 :: =20 @@ -2198,8 +2203,11 @@ DEF("display", HAS_ARG, QEMU_OPTION_display, , QEMU_ARCH_ALL) SRST ``-display type`` - Select type of display to use. Use ``-display help`` to list the avail= able - display types. Valid values for type are + Select type of display to use. This may also influence the default + audio backend selection. + + Use ``-display help`` to list the available display types. Valid values + for type are =20 ``spice-app[,gl=3Don|off]`` Start QEMU as a Spice server and launch the default Spice client @@ -2209,6 +2217,9 @@ SRST ``dbus`` Export the display over D-Bus interfaces. (Since 7.0) =20 + If no audio backend is specified and the dbus display backend is + specified, the dbus audio backend is used by default. + The connection is registered with the "org.qemu" name (and queued = when already owned). =20 --=20 2.53.0