From nobody Mon Nov 23 04:36:06 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 ARC-Seal: i=1; a=rsa-sha256; t=1794509155; cv=none; d=zohomail.com; s=zohoarc; b=Ie/pbhT6d4P2wPwezRpboqTZ1AAQjX8WIwy6cNh3zvYZt7DI3oo1r2IBWecKRrehWXMUeTKMS7a6doyV9hEgy0O16pvEy1VSx+wOzkxGPlssnNaGpdlCFnVXkbLOfi3ju8zVYuzXXPPEq5f1tA98Q84Xjeatjj/48I90P3NYZow= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794509155; h=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:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=4dTJ4yMXHxUDhRVk1NUdE4hH7hKHAKvufQV0nXAfXWY=; b=HLab9uQG3tXk3auX9iSdLdfOjKeUQhtweO5tmmo7yy0WdxemprZtLKs2+edJMNF7QYWUCL+MxtKM/bSl04LBISD1EhyhnCk1ORmdGNNHkwuUhxu4yxbHyfCMKx81yEA36QsUghgb79Cwbuw6Omk5X+naarHmVrWjrkCH81e4qHs= 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 Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 17945091521841022.1394169621514; Thu, 12 Nov 2026 10:45:52 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xRZnj-000637-QP; Thu, 12 Nov 2026 13:45:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZnW-0005sN-Jz; Thu, 12 Nov 2026 13:45:26 -0500 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZnS-0002x5-2n; Thu, 12 Nov 2026 13:45:20 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 7E93F1E5D1C; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: from gandalf.tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with ESMTP id 6AC2245AAD6; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: by gandalf.tls.msk.ru (Postfix, from userid 1000) id 4EDDFB7C4E; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tls.msk.ru; s=202602; t=1794509113; bh=5vORwUTmtvipn8W+vUnwryE3Vwbp+Mdvx5IYBvD/3gs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=RX3eFSxCvO7AM+FJ8f2cwcGpTIyMS9zMsJrfRNgn27pv1T5QANAK69mKw02Cr4DDM 8CnhRiIUDIArQJCVdbWYxnCuwGCYkxJ/nEVqCsEWL4FXaPeuMVSz8ydSNw7oRDAJGl 7KqmgWQ8LvY1Bgzhy2ri51G6ry946GH5+sN2CvzwogzsjFVSQXE+ye6tN+SX909Rhi SDcILydlI4tYRN5dnJx1eRNmQRvMdM2xCEdUAWo7Bu1QskRKnD240qLYCbvR4K19Uz hdkUdddzQpiilxPwPhaFNQIi5S3vEvfkpevJsf/AWnqMwWSFsEocRyugJLP19Y2snp jmkdQlAuWUWAg== From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Filip Hejsek , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 1/6] io: avoid potential double close of qio_channel_file's fd Date: Thu, 12 Nov 2026 21:45:04 +0300 Message-ID: <20261112184513.2324634-2-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261112184513.2324634-1-mjt@tls.msk.ru> References: <20261112184513.2324634-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 @tls.msk.ru) X-ZM-MESSAGEID: 1794509170132158500 Content-Type: text/plain; charset="utf-8" From: Filip Hejsek Make qio_channel_file_close() set fd to -1 even if qemu_close() returns an error so that qio_channel_file_finalize() doesn't call close again. On Linux, close() always closes the fd, even when it returns an error. Because the fd can be reused after it is closed, the close must not be retried. Signed-off-by: Filip Hejsek Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- io/channel-file.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/io/channel-file.c b/io/channel-file.c index 4c9da6619b9..2487adaea2a 100644 --- a/io/channel-file.c +++ b/io/channel-file.c @@ -261,12 +261,24 @@ static int qio_channel_file_close(QIOChannel *ioc, { QIOChannelFile *fioc =3D QIO_CHANNEL_FILE(ioc); =20 - if (qemu_close(fioc->fd) < 0) { + int ret =3D qemu_close(fioc->fd); + /* + * Set fioc->fd to -1, to prevent qio_channel_file_finalize() from + * closing it again. + * + * POSIX.1-2024 specifies that the fd is closed even when close() + * returns an error, except when the error is EINTR. The systems that + * QEMU supports however violate the standard and always close the fd, + * even when returning EINTR. If the fd was actually closed, we must = not + * try to close it a second time as we could accidentally close someone + * else's fd.=20 + */ + fioc->fd =3D -1; + if (ret < 0) { error_setg_errno(errp, errno, - "Unable to close file"); + "Got an error while closing file"); return -1; } - fioc->fd =3D -1; return 0; } =20 --=20 2.47.3 From nobody Mon Nov 23 04:36:06 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 ARC-Seal: i=1; a=rsa-sha256; t=1794509285; cv=none; d=zohomail.com; s=zohoarc; b=gTzl5aW8xV14TAalmI661FtP0NYDd2YKF7ZpAZC951OW+R3qQAT8V8z/MYeHoWTlaAcK5GmXiQvlXGVDdAosnI7HWR1I8ZEF/UyGs6txhKNDnzlwuy4Cc7HNTH1wsUAsQ5oMFBDfs7egOfAI7B1kLiSJHsb2g2d/ZqLhoCBwOTk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794509285; 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:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=nLdJt6FQCzGd/xaFT0+Z0uauMGyUH/EouwBzQ+7G9EU=; b=RGXGLsEPss8FEx0fj6Uv2HKpxSxKXsHaCSdo3CcifQs8NJWfXcHFVBu4ZF9EAGvDJAJZ3LHhaSipQYdIpQSGVM/Lu6+jiX4ph5kyDkq/QJrci8B/wPnhr9A/GxNCkxfe0XDhPoGtLtcjqDFsakRZk9rHzs3eTToCxlCqFtmMX7E= 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 Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794509285167828.1168914365754; Thu, 12 Nov 2026 10:48:05 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xRZnr-0006AU-M7; Thu, 12 Nov 2026 13:45:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZne-0005ye-1q; Thu, 12 Nov 2026 13:45:31 -0500 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZna-0003Ql-AT; Thu, 12 Nov 2026 13:45:29 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 80D1E1E5D1D; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: from gandalf.tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with ESMTP id 7043C45AAD7; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: by gandalf.tls.msk.ru (Postfix, from userid 1000) id 50F14B7C50; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tls.msk.ru; s=202602; t=1794509113; bh=aBEhcjk6o/6oQ4ewrGXzqDuryr/LtYKBeu3C+MTnkjs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ur1e9dyxW7aq3+azCRopoQogMaxwZ6GpH+jeWxSzgybQ7wegLby7/B0DbeU/ob/5N zDEfXhjBnPibXXRjOkI+3D00X/THlzf4wk3SZgEvqzC7y4yCVtAeVPEfy8/pl6umgD mbY088YmapQ5S4mv2dtAZzh0Krw4RxrsUaBEciUcVrYjb0egiP+5Rm3yJNv7r8jQkn MQOeZETE3NlQpCLgf679l5Oe4g2LnHKTZiTmffSMHxOHz1RLKbxCZsrvhscdC+9Mw+ qVIEcz5ljKtJZVsTZawRw442hZX+UvGJXET347+YMRHvIqkZn4VJMbOwL4ZJ4k0SwS zW3DSfgUGgzAw== From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Lucas Cardoso , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 2/6] hw/audio/fmopl.c: Convert malloc, free to g_malloc0, g_new and g_free Date: Thu, 12 Nov 2026 21:45:05 +0300 Message-ID: <20261112184513.2324634-3-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261112184513.2324634-1-mjt@tls.msk.ru> References: <20261112184513.2324634-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 @tls.msk.ru) X-ZM-MESSAGEID: 1794509285448158500 From: Lucas Cardoso In accordance with QEMU's coding style guidelines, replace raw memory allocation functions (malloc/free) with their GLib equivalents (g_new/g_malloc0/g_free/g_clear_pointer). Also removes the old generic error-handling code from OPLOpenTable(), since the Glib functions abort the program automatically if memory is exhausted. Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/1798 Reviewed-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Lucas Cardoso Reviewed-by: Peter Maydell Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- hw/audio/fmopl.c | 43 ++++++++++++------------------------------- 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/hw/audio/fmopl.c b/hw/audio/fmopl.c index a63ad0f04d5..91fe806fd66 100644 --- a/hw/audio/fmopl.c +++ b/hw/audio/fmopl.c @@ -607,26 +607,10 @@ static int OPLOpenTable( void ) double pom; =20 /* allocate dynamic tables */ - if( (TL_TABLE =3D malloc(TL_MAX*2*sizeof(int32_t))) =3D=3D NULL) - return 0; - if( (SIN_TABLE =3D malloc(SIN_ENT*4 *sizeof(int32_t *))) =3D=3D NULL) - { - free(TL_TABLE); - return 0; - } - if( (AMS_TABLE =3D malloc(AMS_ENT*2 *sizeof(int32_t))) =3D=3D NULL) - { - free(TL_TABLE); - free(SIN_TABLE); - return 0; - } - if( (VIB_TABLE =3D malloc(VIB_ENT*2 *sizeof(int32_t))) =3D=3D NULL) - { - free(TL_TABLE); - free(SIN_TABLE); - free(AMS_TABLE); - return 0; - } + TL_TABLE =3D g_new(int32_t, TL_MAX * 2); + SIN_TABLE =3D g_new(int32_t *, SIN_ENT * 4); + AMS_TABLE =3D g_new(int32_t, AMS_ENT * 2); + VIB_TABLE =3D g_new(int32_t, VIB_ENT * 2); ENV_CURVE =3D g_new(int32_t, 2 * EG_ENT + 1); /* make total level table */ for (t =3D 0;t < EG_ENT-1 ;t++){ @@ -695,11 +679,11 @@ static int OPLOpenTable( void ) =20 static void OPLCloseTable( void ) { - g_free(ENV_CURVE); - free(TL_TABLE); - free(SIN_TABLE); - free(AMS_TABLE); - free(VIB_TABLE); + g_clear_pointer(&ENV_CURVE, g_free); + g_clear_pointer(&TL_TABLE, g_free); + g_clear_pointer(&SIN_TABLE, g_free); + g_clear_pointer(&AMS_TABLE, g_free); + g_clear_pointer(&VIB_TABLE, g_free); } =20 /* CSM Key Control */ @@ -1081,11 +1065,8 @@ FM_OPL *OPLCreate(int clock, int rate) /* allocate OPL state space */ state_size =3D sizeof(FM_OPL); state_size +=3D sizeof(OPL_CH)*max_ch; - /* allocate memory block */ - ptr =3D malloc(state_size); - if(ptr=3D=3DNULL) return NULL; - /* clear */ - memset(ptr,0,state_size); + /* allocate memory block and zero-initialize */ + ptr =3D g_malloc0(state_size); OPL =3D (FM_OPL *)ptr; ptr+=3Dsizeof(FM_OPL); OPL->P_CH =3D (OPL_CH *)ptr; ptr+=3Dsizeof(OPL_CH)*max_ch; /* set channel state pointer */ @@ -1128,7 +1109,7 @@ void OPLDestroy(FM_OPL *OPL) } #endif OPL_UnLockTable(); - free(OPL); + g_free(OPL); } =20 /* ---------- Option handlers ---------- */ --=20 2.47.3 From nobody Mon Nov 23 04:36:06 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 ARC-Seal: i=1; a=rsa-sha256; t=1794509179; cv=none; d=zohomail.com; s=zohoarc; b=Zei8xz72HPqor4URPQI51bv87P1YPRYsIvQ2USKWawkB8jr0EMkbZ/ZkTyqZF/AEBtWdhGrkmrWfjvt0HFpSXhjcjLa8fnhVwJs6rqgGhAL4bqsXz3dk9RpeiXLyY60KdXhJ+OGBjpyXoTxZkLHuOR+TjErgwF6ORXe9rG8DAI8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794509179; h=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:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=wLRW1JPz1XY90/40Bo7sG7KsmMzmArCf/4z/6SGZmF8=; b=BOTDP8TDDCcMeSGQD2hH2gasQh7odD6vfMX5vdVDENG+adhkv51ZN9vyImP2nuSnjH2pzaTjG3HSPXL+imNnnsZCXfcOGuc9agWEE3C8MrKp9IHXq7G3k2JuED39soFZvob+JGoyRfRVFirgX+uT4WSH1taDuR6abQWVz2CRzTM= 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 Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794509175780543.6159965667293; Thu, 12 Nov 2026 10:46:15 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xRZnl-00063u-Mr; Thu, 12 Nov 2026 13:45:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZnc-0005uR-2o; Thu, 12 Nov 2026 13:45:29 -0500 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZnY-0003OP-GW; Thu, 12 Nov 2026 13:45:27 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 84E6C1E5D1E; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: from gandalf.tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with ESMTP id 769F445AAD8; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: by gandalf.tls.msk.ru (Postfix, from userid 1000) id 536CEB7C52; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tls.msk.ru; s=202602; t=1794509113; bh=yNqxXwYUKbIOOLryjs5ryABf3e0HEegWe9ILVI/IM4Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kOQvpupIy6JMKe871sjkblQotKztRFsWePv6zIhFj9P3ZpuAILij1ZTSDdEfIWw8q dVCR/YUDL5HZjWIpUnMAUmg01H9l97j6dQsbM50TqXSQhGJAH+2k6CZOkAAOr+z9mO P9UzBAMkqLPpDDsTe4gT1HMKMGW9zmkkpirv+HMWEhmewOHN6a6g12ClLKh7dher5Y B+txWrejH/QlXh6QrCf6u0T0CisKatag45/WvumvqFD/DiBHplxLa00eiPVuRtBhnZ BpBUGeJ6CU0Y1MVOaJcBOWSujIOcwfD6prqN8RWpHeSNi6SO71J8kEoF928hh1tJko btkZcBUYwHj3A== From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Filip Hejsek , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 3/6] docs: fix a few typos Date: Thu, 12 Nov 2026 21:45:06 +0300 Message-ID: <20261112184513.2324634-4-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261112184513.2324634-1-mjt@tls.msk.ru> References: <20261112184513.2324634-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 @tls.msk.ru) X-ZM-MESSAGEID: 1794509181915158500 Content-Type: text/plain; charset="utf-8" From: Filip Hejsek Signed-off-by: Filip Hejsek Reviewed-by: John Snow Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- docs/devel/clocks.rst | 2 +- docs/devel/control-flow-integrity.rst | 2 +- docs/devel/docs.rst | 2 +- docs/devel/ebpf_rss.rst | 2 +- docs/devel/multi-process.rst | 6 +++--- docs/devel/submitting-a-patch.rst | 2 +- docs/interop/vfio-user.rst | 2 +- docs/specs/ppc-spapr-hcalls.rst | 2 +- docs/specs/ppc-spapr-xive.rst | 2 +- docs/system/security.rst | 2 +- docs/user/main.rst | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/devel/clocks.rst b/docs/devel/clocks.rst index 16de32147b9..997b09c6a4e 100644 --- a/docs/devel/clocks.rst +++ b/docs/devel/clocks.rst @@ -280,7 +280,7 @@ so you can use this to model clock controller devices w= hich have guest-programmable frequency multipliers or dividers. =20 Similarly to ``clock_set()``, ``clock_set_mul_div()`` returns ``true`` if -the clock state was modified; that is, if the multiplier or the diviser +the clock state was modified; that is, if the multiplier or the divisor or both were changed by the call. =20 Note that ``clock_set_mul_div()`` does not automatically call diff --git a/docs/devel/control-flow-integrity.rst b/docs/devel/control-flo= w-integrity.rst index 3d5702fa4cc..466888bdf16 100644 --- a/docs/devel/control-flow-integrity.rst +++ b/docs/devel/control-flow-integrity.rst @@ -39,7 +39,7 @@ are planning to also enable fuzzing, then Clang 11+ is ne= eded (more on this later). =20 Given the use of LTO, a version of AR that supports LLVM IR is required. -The easies way of doing this is by selecting the AR provided by LLVM:: +The easiest way of doing this is by selecting the AR provided by LLVM:: =20 AR=3Dllvm-ar-9 CC=3Dclang-9 CXX=3Dclang++-9 /path/to/configure --enable-c= fi =20 diff --git a/docs/devel/docs.rst b/docs/devel/docs.rst index a7768b53117..7fe7e44429f 100644 --- a/docs/devel/docs.rst +++ b/docs/devel/docs.rst @@ -5,7 +5,7 @@ QEMU Documentation =20 QEMU's documentation is written in reStructuredText format and built using the Sphinx documentation generator. We generate both -the HTML manual and the manpages from the some documentation sources. +the HTML manual and the manpages from the same documentation sources. =20 hxtool and .hx files -------------------- diff --git a/docs/devel/ebpf_rss.rst b/docs/devel/ebpf_rss.rst index ed5d33767bd..85ef5476232 100644 --- a/docs/devel/ebpf_rss.rst +++ b/docs/devel/ebpf_rss.rst @@ -31,7 +31,7 @@ Not for all packets, the hash can/should be calculated. =20 Note: currently, eBPF RSS does not support hash reporting. =20 -eBPF RSS turned on by different combinations of vhost-net, vitrio-net and = tap configurations: +eBPF RSS turned on by different combinations of vhost-net, virtio-net and = tap configurations: =20 - eBPF is used: =20 diff --git a/docs/devel/multi-process.rst b/docs/devel/multi-process.rst index 4ef539c0b0b..cafe2aaba78 100644 --- a/docs/devel/multi-process.rst +++ b/docs/devel/multi-process.rst @@ -158,7 +158,7 @@ IOMMUs introduce another level of complexity, since the= address given to the guest virtio device to DMA to or from is not a guest physical address. This case is handled by having vhost code within QEMU register as a listener for IOMMU mapping changes. The vhost application maintains -a cache of IOMMMU translations: sending translation requests back to +a cache of IOMMU translations: sending translation requests back to QEMU on cache misses, and in turn receiving flush requests from QEMU when mappings are purged. =20 @@ -573,7 +573,7 @@ live migration When a remote process receives a live migration indication from QEMU, it will set up a channel using the received file descriptor with ``qio_channel_socket_new_fd()``. This channel will be used to create a -*QEMUfile* that can be passed to ``qemu_save_device_state()`` to send +*QEMUFile* that can be passed to ``qemu_save_device_state()`` to send the process's device state back to QEMU. This method will be reversed on restore - the channel will be passed to ``qemu_loadvm_state()`` to restore the device state. @@ -853,7 +853,7 @@ intx irq descriptor =20 The irq descriptors are created by the proxy object ``using event_notifier_init()`` to create the irq and re-sampling -*eventds*, and ``kvm_vm_ioctl(KVM_IRQFD)`` to bind them to an interrupt. +*eventfds*, and ``kvm_vm_ioctl(KVM_IRQFD)`` to bind them to an interrupt. The interrupt route can be found with ``pci_device_route_intx_to_irq()``. =20 diff --git a/docs/devel/submitting-a-patch.rst b/docs/devel/submitting-a-pa= tch.rst index 5ccd09a3978..cd08881dfb3 100644 --- a/docs/devel/submitting-a-patch.rst +++ b/docs/devel/submitting-a-patch.rst @@ -241,7 +241,7 @@ Use B4 ~~~~~~ =20 The `b4`_ tool, used for Linux kernel development, can also be used for QE= MU -development. It is packaged in most distros and PyPi. The QEMU source tree +development. It is packaged in most distros and PyPI. The QEMU source tree includes a ``b4`` project configuration file at the root: ``.b4-config``. =20 Example workflow to prepare a patch series: diff --git a/docs/interop/vfio-user.rst b/docs/interop/vfio-user.rst index b49781a7550..bdd73f41f41 100644 --- a/docs/interop/vfio-user.rst +++ b/docs/interop/vfio-user.rst @@ -1583,7 +1583,7 @@ Neither the request or reply have a payload. -------------------------------- =20 This message can be used to coalesce multiple device write operations -into a single messgage. It is only used as an optimization when the +into a single message. It is only used as an optimization when the outgoing message queue is relatively full. =20 Request diff --git a/docs/specs/ppc-spapr-hcalls.rst b/docs/specs/ppc-spapr-hcalls.= rst index 6cdcef20265..550026ea550 100644 --- a/docs/specs/ppc-spapr-hcalls.rst +++ b/docs/specs/ppc-spapr-hcalls.rst @@ -20,7 +20,7 @@ to an implementation specific range in PAPR. ``H_RTAS (0xf000)`` =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 -RTAS stands for Run-Time Abstraction Sercies and is a set of runtime servi= ces +RTAS stands for Run-Time Abstraction Services and is a set of runtime serv= ices generally provided by the firmware inside the guest to the operating syste= m. It predates the existence of hypervisors (it was originally an extension to O= pen Firmware) and is still used by PAPR and LoPAR to provide various services = that diff --git a/docs/specs/ppc-spapr-xive.rst b/docs/specs/ppc-spapr-xive.rst index f47f739e019..8b83942a290 100644 --- a/docs/specs/ppc-spapr-xive.rst +++ b/docs/specs/ppc-spapr-xive.rst @@ -171,7 +171,7 @@ native exploitation mode* is selected should contain: - ``reg`` =20 contains the base address and size of the thread interrupt - managnement areas (TIMA), for the User level and for the Guest OS + management areas (TIMA), for the User level and for the Guest OS level. Only the Guest OS level is taken into account today. =20 - ``ibm,xive-eq-sizes`` diff --git a/docs/system/security.rst b/docs/system/security.rst index e211fdd2344..92a5d87503e 100644 --- a/docs/system/security.rst +++ b/docs/system/security.rst @@ -107,7 +107,7 @@ an issue as a normal bug. possibility of large memory peaks and apply countermeasures to provide continuity of host operations. It is typical for the Linux OOM killer to reap the process triggering host memory overcommit - in the case of exccessive usage, offering a degree of protection. + in the case of excessive usage, offering a degree of protection. As such, bugs which can lead to excessive/unbounded memory allocations will usually not be classified as security flaws, but should be fixed as hardening bugs. diff --git a/docs/user/main.rst b/docs/user/main.rst index a8ddf914249..aef33bfd9aa 100644 --- a/docs/user/main.rst +++ b/docs/user/main.rst @@ -23,7 +23,7 @@ System call translation System calls are the principle interface between user-space and the kernel. Generally the same system calls exist on all versions of the kernel so QEMU includes a generic system call translator. The -translator takes care of adjusting endianess, 32/64 bit parameter size +translator takes care of adjusting endianness, 32/64 bit parameter size and then calling the equivalent host system call. =20 QEMU can also adjust device specific ``ioctl()`` calls in a similar --=20 2.47.3 From nobody Mon Nov 23 04:36:06 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 ARC-Seal: i=1; a=rsa-sha256; t=1794509167; cv=none; d=zohomail.com; s=zohoarc; b=j7AX3d0k++A1Yf8HTkec5v56dHxXW+7H2I/KFYFyJHihUIur4SYwId6/4o/Cdb24X/1FBD8ffgx9+WlXkjQSOEy98Lo+cLgR3wvhDD6Ze6RVJfcqScOuRbxINGUUiDsYS16XiH6wuSYxIhTcHp9Sviy+WBG7T9zwgjAzHUP2o/I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794509167; 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:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=5JU3UdAccW+5srImaj1g6tHN/iboWRov46MAgIySj/Y=; b=oKGAot2bPyWKnEK6eu9P715YOUufOrAJ04RksFW0LehyDRtoxa1WOWVkwoUb4K24h6isaYeyiJHTK4RWtgTmV91mHw2Mjz+3mzGkjjA9GTpAKK1YqWRuD+vluBB+Dr0YDSqwcpvgHe6t+3/SwtqDscOcFVdS5miQYKS2HAXe4Tk= 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 Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794509164857331.48122975388264; Thu, 12 Nov 2026 10:46:04 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xRZns-0006CR-Mc; Thu, 12 Nov 2026 13:45:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZni-000639-3c; Thu, 12 Nov 2026 13:45:34 -0500 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZne-0003dh-3Z; Thu, 12 Nov 2026 13:45:32 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 859841E5D1F; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: from gandalf.tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with ESMTP id 7ED5745AAD9; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: by gandalf.tls.msk.ru (Postfix, from userid 1000) id 55B03B7C54; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tls.msk.ru; s=202602; t=1794509113; bh=BE51UgrGdVo4lbgb4ETKy4l1u2NvIZGz/w1s6R7MEjI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=iddOgLV2Rrt+aFEM3kRgnK4g3Y6oWECTxhWSJiNsXkziV3XhEgdhnCOM17fitjBKz K3Ygne3KRKYOdrjQ7cuuN8CTniepswxgDdYMnII5dEW6tIXDxZxbVFNi4JyC5RhwsQ iipaGKY5Uy9c5r8EYlnguuoqOnuFldv/Cl+hPuvfeXCLQ/aE1CrEWq4NpzhKBflWit AfZvMK8S85K/8I9YcXW8q2bArNGJfsLJhDakCB6vmtnVBMnveN6e3iC2Apch+qfNYh GJqKQhSY5pGWldYXHHMY5vXemQKdWnymkZDNLRqEqXwV0iio9w0MD8cPMuCw14pyl0 6F9ESGd5vfD5A== From: Michael Tokarev To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 4/6] MAINTAINERS: fix typo in Gerd's name Date: Thu, 12 Nov 2026 21:45:07 +0300 Message-ID: <20261112184513.2324634-5-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261112184513.2324634-1-mjt@tls.msk.ru> References: <20261112184513.2324634-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 @tls.msk.ru) X-ZM-MESSAGEID: 1794509170131158500 From: Alex Benn=C3=A9e Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Gustavo Romero Signed-off-by: Michael Tokarev --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index fa0c6d0c9bc..3d53e104c5b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2945,7 +2945,7 @@ F: tests/qtest/vmgenid-test.c =20 VM Launch Update M: Ani Sinha -M: Gerd Hoffman +M: Gerd Hoffmann S: Maintained F: hw/misc/vmlaunchupdate.c F: include/hw/misc/vmlaunchupdate.h --=20 2.47.3 From nobody Mon Nov 23 04:36:06 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 ARC-Seal: i=1; a=rsa-sha256; t=1794509227; cv=none; d=zohomail.com; s=zohoarc; b=e2gYpixCwtQiVERQxvhKczNNhYa6gUKd5M+vUghC417qOBR482qiMS+KiWoXc6sKvm4BhW/kMQcknAzFtP8xcaNCojHjpZRhuIGzfdyDdpbCwiv750Dsn/WGWXfKvmtfkCB6NI3TW1T2ijEYqLMVhUTTQ2JBbEiLU1412JQ0gYc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794509227; 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:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=1ijzwuVqko13sVVQoqOrMokqygpgfe46S5/OgYmIb6U=; b=b6fz/5UHqRawOxkOmvpFuRX64wgwj+ySO2n7PxBMP0Goc6c6DOw/RDqn1VxwieEoCalAR2Yv/WXZYHa0TpXdUgum4VqOIMbe+6kn3KHayytaJLhkgXiNZZzHAgL2g0OI4gwH1HJ/71xQiu17eNu0kxaEQdcQAutUbGGVeteMw00= 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 Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794509227855765.3039597983146; Thu, 12 Nov 2026 10:47:07 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xRZnt-0006Ct-FR; Thu, 12 Nov 2026 13:45:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZnk-00063t-0I; Thu, 12 Nov 2026 13:45:36 -0500 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZnf-0003dv-Sy; Thu, 12 Nov 2026 13:45:34 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 89C811E5D20; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: from gandalf.tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with ESMTP id 855DA45AADA; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: by gandalf.tls.msk.ru (Postfix, from userid 1000) id 57F3FB7C56; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tls.msk.ru; s=202602; t=1794509113; bh=vHn8K/EoqgaPkMjjbpymL1EIGb5873t1DRVvitevql0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=wAd0SCVkS2fEvq4/fd0WNitFsexFRCWoHa8x6KIoJNvcAqPMHCy2cUH0J5BK2A9KC RxGM4BrV6iunL9U6OnNb33ZP+y8Vpf6Q4duQuER5bQbaKjsyM7HkoI9g/cs3KVyePn TBULFvicaaNUeIwdcBUgtdAyxSJRSCGpT9Lj/hMnRh2s5YBODdDrzqMsA04lvydGQI 5esptvhq6PlKIddNkv1z16MlK+2b1yuCZJyEu3arX1MLVrc74X0wBi4rSa2MC+juWF QWvKqCj54uDrH6IDvMDJidtZbO58C9FOfjgTMsF2+g2RyDfK2L2a3uCOJXsVRqo7ss 2Cie0Q58f7VaA== From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Markus Armbruster , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 5/6] hw/audio/intel-hda: Belatedly update comment for removal of -soundhw Date: Thu, 12 Nov 2026 21:45:08 +0300 Message-ID: <20261112184513.2324634-6-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261112184513.2324634-1-mjt@tls.msk.ru> References: <20261112184513.2324634-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 @tls.msk.ru) X-ZM-MESSAGEID: 1794509228520158500 From: Markus Armbruster Comment is stale since commit 039a68373c4 (introduce -audio as a replacement for -soundhw). Signed-off-by: Markus Armbruster Reviewed-by: Marc-Andr=C3=A9 Lureau Signed-off-by: Michael Tokarev --- hw/audio/intel-hda.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c index 3d361a4976c..431deb22113 100644 --- a/hw/audio/intel-hda.c +++ b/hw/audio/intel-hda.c @@ -1303,8 +1303,8 @@ static const TypeInfo hda_codec_device_type_info =3D { }; =20 /* - * create intel hda controller with codec attached to it, - * so '-soundhw hda' works. + * Create intel hda controller with codec attached to it, + * so '-audio model=3Dhda' works. */ static void intel_hda_and_codec_init(const char *audiodev) { --=20 2.47.3 From nobody Mon Nov 23 04:36:06 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 ARC-Seal: i=1; a=rsa-sha256; t=1794509170; cv=none; d=zohomail.com; s=zohoarc; b=bAqrbphoGzbCm1/R0WH8W507mXgBy/zoGFyDF4Kx3yxJog5SlN989YeW5k3qFjofB1cfwsStx6siGLtTx4IVtoCCqgDVyDazoad85wkqmzQFI0PKs0sqtU+YFfrAHoJBADgkDDOGAE0ED7WHmPsD5UrzPkP33nloec+DOMCI6zE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794509170; h=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:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=flTR4zmpS6oUeV/cknFXK1eni+eBqK9O4aAqvz0/Xx0=; b=aInvcb9fUyIFsCqTBhGb1K6MrEoFB2KTjXheRUNHNm9c0+iyi8Ldfru3Ui3NfmuW6LMh/BwrSxLJBiFuW3Vo28qf+aUUWvUzQjqefASdKsqG04or02aA61Gu0N3o+vz9F9Dspc4DOEAoZiAn3QtwJzEkxpUceSJ63/HJtcQQPJI= 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 Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1794509169510743.582428020931; Thu, 12 Nov 2026 10:46:09 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xRZnr-0006AS-N2; Thu, 12 Nov 2026 13:45:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZnl-00064X-SM; Thu, 12 Nov 2026 13:45:37 -0500 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xRZnk-0003eK-1k; Thu, 12 Nov 2026 13:45:37 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 8D75A1E5D21; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: from gandalf.tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with ESMTP id 8BC7245AADB; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) Received: by gandalf.tls.msk.ru (Postfix, from userid 1000) id 5A457B7C58; Thu, 12 Nov 2026 21:45:13 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tls.msk.ru; s=202602; t=1794509113; bh=hcOYx8NlulQA7fYgRuOQMjk3eBYQiUUNtmBCNBNgsAU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=QYi3YX0chnEW0052OHULNmQcu84O3DvSvoVydJxVXl7PCq6obk4HUYQ5uDqQGoBrV kUDp1DYhLZ4iiXtNQQ51HivZs41+TzEiXhLUixbIX8taj0E9NuaPpBHuAGBTVgClJ3 6IdZ4nZ64AGPzz22NPdPGoAyT8tz0S7tuGzqY6U/iuQUi4ZT/7706EKSRNqVLh77cX 9SISsZL4evwdbsOj9DnB9rXj2vHvdZ+6udKZJsxf+kdRcPnTAPx9RORBknfbl/+RSR Nct4oLHuCzRMGVo59glPdJbLzxQSfbhNpjnZQ+ikxQxOuhtgqeof5fHEifupVV328n 6ATijkds1RIAQ== From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Matthew White , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 6/6] configure: --disable-containers should prevent `docker.py probe` Date: Thu, 12 Nov 2026 21:45:09 +0300 Message-ID: <20261112184513.2324634-7-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261112184513.2324634-1-mjt@tls.msk.ru> References: <20261112184513.2324634-1-mjt@tls.msk.ru> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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=lists1p.gnu.org; Received-SPF: pass client-ip=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 @tls.msk.ru) X-ZM-MESSAGEID: 1794509173879158500 Content-Type: text/plain; charset="utf-8" From: Matthew White Upstream commit c4ce04cfb7460d46c0262d437a7f35bb5c5fc449 changed the configure file to set container_command regardless of use_containers. As a result, it runs `docker.py probe` to detect a Docker-compatible application, such as Podman, even when --disable-containers is used. On Gentoo, this reopens https://bugs.gentoo.org/732972. As reported in https://bugs.gentoo.org/984747, the `docker.py probe` command can trigger SANDBOX ACCESS VIOLATION errors under QEMU v11.1.2: * ACCESS DENIED: open_wr_creat: /var/lib/rpm/rpmdb.sqlite-wal * ACCESS DENIED: fchown: /var/lib/rpm/rpmdb.sqlite-wal ... This patch is to prevent `docker.py probe` from running and to clear container_command when --disable-containers is used. Buglink: https://bugs.gentoo.org/984747 Signed-off-by: Matthew White Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- configure | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/configure b/configure index af14a9c23ef..d38268e340f 100755 --- a/configure +++ b/configure @@ -1277,12 +1277,17 @@ fi ########################################## # functions to probe cross compilers =20 -if test "$container_command" =3D ""; then - container_command=3D$($python "$source_path"/tests/docker/docker.py pr= obe) - test "$container_command" =3D "no" && container_command=3D"" -fi -if test $use_containers =3D "yes" && test "$container_command" !=3D ""; th= en - docker_py=3D"$python $source_path/tests/docker/docker.py --command $co= ntainer_command" +if test $use_containers =3D "yes"; then + if test "$container_command" =3D ""; then + container_command=3D$($python "$source_path"/tests/docker/docker.p= y probe) + test "$container_command" =3D "no" && container_command=3D"" + fi + if test "$container_command" !=3D ""; then + docker_py=3D"$python $source_path/tests/docker/docker.py --command= $container_command" + fi +else + # the option --disable-containers should override and disable --contai= ner-command + container_command=3D"" fi =20 # cross compilers defaults, can be overridden with --cross-cc-ARCH --=20 2.47.3