From nobody Mon Feb 9 11:50:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 176891274749857.29485144092803; Tue, 20 Jan 2026 04:39:07 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viB04-0002bV-3B; Tue, 20 Jan 2026 07:38:24 -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 1viAz6-0001ai-DI; Tue, 20 Jan 2026 07:37:30 -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 1viAz1-0002Xn-5q; Tue, 20 Jan 2026 07:37:24 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 99C281802C0; Tue, 20 Jan 2026 15:21:33 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 209D1351749; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 1/9] Revert "gdbstub: Try unlinking the unix socket before binding" Date: Tue, 20 Jan 2026 15:21:38 +0300 Message-ID: <20260120122150.2254321-2-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-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=lists.gnu.org; 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-ZM-MESSAGEID: 1768912750877158500 Content-Type: text/plain; charset="utf-8" This reverts commit fccb744f41c69fec6fd92225fe907c6e69de5d44. This commit introduced dependency of linux-user on qemu-sockets.c. The latter includes handling of various socket types, while gdbstub only needs unix sockets. Including different kinds of sockets makes it more problematic to build linux-user statically. The original issue - the need to unlink unix socket before binding - will be addressed in the next change. Reviewed-by: Ilya Leoshkevich Signed-off-by: Michael Tokarev --- gdbstub/user.c | 29 ++++++++++++++++++++++++++--- stubs/meson.build | 2 -- util/meson.build | 2 -- 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/gdbstub/user.c b/gdbstub/user.c index e233c59816..5e920a9b51 100644 --- a/gdbstub/user.c +++ b/gdbstub/user.c @@ -314,10 +314,12 @@ static bool gdb_accept_socket(int gdb_fd) return true; } =20 -static int gdbserver_open_socket(const char *path, Error **errp) +static int gdbserver_open_socket(const char *path) { g_autoptr(GString) buf =3D g_string_new(""); + struct sockaddr_un sockaddr =3D {}; const char *pid_placeholder; + int fd, ret; =20 pid_placeholder =3D strstr(path, "%d"); if (pid_placeholder !=3D NULL) { @@ -327,7 +329,28 @@ static int gdbserver_open_socket(const char *path, Err= or **errp) path =3D buf->str; } =20 - return unix_listen(path, errp); + fd =3D socket(AF_UNIX, SOCK_STREAM, 0); + if (fd < 0) { + perror("create socket"); + return -1; + } + + sockaddr.sun_family =3D AF_UNIX; + pstrcpy(sockaddr.sun_path, sizeof(sockaddr.sun_path) - 1, path); + ret =3D bind(fd, (struct sockaddr *)&sockaddr, sizeof(sockaddr)); + if (ret < 0) { + perror("bind socket"); + close(fd); + return -1; + } + ret =3D listen(fd, 1); + if (ret < 0) { + perror("listen socket"); + close(fd); + return -1; + } + + return fd; } =20 static bool gdb_accept_tcp(int gdb_fd) @@ -483,7 +506,7 @@ bool gdbserver_start(const char *args, Error **errp) if (port > 0) { gdb_fd =3D gdbserver_open_port(port, errp); } else { - gdb_fd =3D gdbserver_open_socket(port_or_path, errp); + gdb_fd =3D gdbserver_open_socket(port_or_path); } if (gdb_fd < 0) { return false; diff --git a/stubs/meson.build b/stubs/meson.build index d3b551f4de..2b5fd8a88a 100644 --- a/stubs/meson.build +++ b/stubs/meson.build @@ -61,8 +61,6 @@ if have_user if not have_system stub_ss.add(files('qdev.c')) endif - - stub_ss.add(files('monitor-internal.c')) endif =20 if have_system diff --git a/util/meson.build b/util/meson.build index 59e835a8d3..a0cfdc30ba 100644 --- a/util/meson.build +++ b/util/meson.build @@ -83,8 +83,6 @@ if have_block or have_ga util_ss.add(files('qemu-coroutine.c', 'qemu-coroutine-lock.c', 'qemu-cor= outine-io.c')) util_ss.add(files(f'coroutine-@coroutine_backend@.c')) util_ss.add(files('thread-pool.c', 'qemu-timer.c')) -endif -if have_block or have_ga or have_user util_ss.add(files('qemu-sockets.c')) endif if have_block --=20 2.47.3 From nobody Mon Feb 9 11:50:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 176891283410574.43705555141923; Tue, 20 Jan 2026 04:40:34 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viAzy-0002RV-1p; Tue, 20 Jan 2026 07:38:18 -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 1viAyl-0001Ux-S9; Tue, 20 Jan 2026 07:37:05 -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 1viAyf-0002Ve-P1; Tue, 20 Jan 2026 07:37:02 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id AFA111802C1; Tue, 20 Jan 2026 15:21:33 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 2D5A935174A; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 2/9] gdbstub: unlink the unix socket before bind() Date: Tue, 20 Jan 2026 15:21:39 +0300 Message-ID: <20260120122150.2254321-3-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-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=lists.gnu.org; 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-ZM-MESSAGEID: 1768912835229158500 Content-Type: text/plain; charset="utf-8" This is another variant of doing what v9.2.0-1561-gfccb744f41c6 "gdbstub: Try unlinking the unix socket before binding" did, but that commit introduced dependency on qemu-sockets.c which is more problematic for statically-linked qemu-user binaries. Reviewed-by: Ilya Leoshkevich Signed-off-by: Michael Tokarev --- gdbstub/user.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdbstub/user.c b/gdbstub/user.c index 5e920a9b51..a2327c6135 100644 --- a/gdbstub/user.c +++ b/gdbstub/user.c @@ -337,6 +337,7 @@ static int gdbserver_open_socket(const char *path) =20 sockaddr.sun_family =3D AF_UNIX; pstrcpy(sockaddr.sun_path, sizeof(sockaddr.sun_path) - 1, path); + unlink(sockaddr.sun_path); ret =3D bind(fd, (struct sockaddr *)&sockaddr, sizeof(sockaddr)); if (ret < 0) { perror("bind socket"); --=20 2.47.3 From nobody Mon Feb 9 11:50:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 176891269380794.25674623261932; Tue, 20 Jan 2026 04:38:13 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viAzc-0001yW-Iq; Tue, 20 Jan 2026 07:37:56 -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 1viAz6-0001ag-Cp; Tue, 20 Jan 2026 07:37: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 1viAyy-0002XV-Op; Tue, 20 Jan 2026 07:37:21 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id BB8081802C2; Tue, 20 Jan 2026 15:21:33 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 42D1935174B; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev , qemu-trivial@nongnu.org Subject: [PULL 3/9] qemu-options.hx: use KiB, MiB, GiB for power-of-2 units Date: Tue, 20 Jan 2026 15:21:40 +0300 Message-ID: <20260120122150.2254321-4-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-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=lists.gnu.org; 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-ZM-MESSAGEID: 1768912705387154100 Use MiB &Co instead of MB &Co when the talk is about power-of-two-based sizes, in qemu-options.hx. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3222 Signed-off-by: Michael Tokarev Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- qemu-options.hx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index ec92723f10..455b8be890 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -305,9 +305,9 @@ SRST with break-before-make sequences are considerable and also if guest workloads are read intensive. The size here specifies how many pag= es to break at a time and needs to be a valid block size which is - 1GB/2MB/4KB, 32MB/16KB and 512MB/64KB for 4KB/16KB/64KB PAGE_SIZE - respectively. Be wary of specifying a higher size as it will have = an - impact on the memory. By default, this feature is disabled + 1GiB/2MiB/4KiB, 32MiB/16KiB and 512MiB/64KiB for 4KiB/16KiB/64KiB + PAGE_SIZE respectively. Be wary of specifying a higher size as it = will + have an impact on the memory. By default, this feature is disabled (eager-split-size=3D0). =20 ``notify-vmexit=3Drun|internal-error|disable,notify-window=3Dn`` @@ -564,7 +564,7 @@ SRST =20 lat is latency value in nanoseconds. bw is bandwidth value, the possible value and units are NUM[M\|G\|T], mean that the bandwidth - value are NUM byte per second (or MB/s, GB/s or TB/s depending on + value are NUM byte per second (or MiB/s, GiB/s or TiB/s depending on used suffix). Note that if latency or bandwidth value is 0, means the corresponding latency or bandwidth information is not provided. =20 @@ -579,10 +579,10 @@ SRST For example, the following options describe 2 NUMA nodes. Node 0 has 2 cpus and a ram, node 1 has only a ram. The processors in node 0 access memory in node 0 with access-latency 5 nanoseconds, - access-bandwidth is 200 MB/s; The processors in NUMA node 0 access + access-bandwidth is 200 MiB/s; The processors in NUMA node 0 access memory in NUMA node 1 with access-latency 10 nanoseconds, - access-bandwidth is 100 MB/s. And for memory side cache information, - NUMA node 0 and 1 both have 1 level memory cache, size is 10KB, + access-bandwidth is 100 MiB/s. And for memory side cache information, + NUMA node 0 and 1 both have 1 level memory cache, size is 10KiB, policy is write-back, the cache Line size is 8 bytes: =20 :: @@ -739,8 +739,8 @@ SRST amount of memory. Note that maxmem must be aligned to the page size. =20 For example, the following command-line sets the guest startup RAM - size to 1GB, creates 3 slots to hotplug additional memory and sets - the maximum memory the guest can reach to 4GB: + size to 1GiB, creates 3 slots to hotplug additional memory and sets + the maximum memory the guest can reach to 4GiB: =20 .. parsed-literal:: =20 @@ -1696,7 +1696,7 @@ SRST Specify bandwidth throttling limits in bytes per second, either for all request types or for reads or writes only. Small values can lead to timeouts or hangs inside the guest. A safe minimum - for disks is 2 MB/s. + for disks is 2 MiB/s. =20 ``bps_max=3Dbm,bps_rd_max=3Drm,bps_wr_max=3Dwm`` Specify bursts in bytes per second, either for all request types --=20 2.47.3 From nobody Mon Feb 9 11:50:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1768912895879351.5302348733685; Tue, 20 Jan 2026 04:41:35 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viB00-0002W2-Pn; Tue, 20 Jan 2026 07:38:20 -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 1viAyv-0001WK-0i; Tue, 20 Jan 2026 07:37:14 -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 1viAyn-0002Wc-Ak; Tue, 20 Jan 2026 07:37:10 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id D3E3C1802C3; Tue, 20 Jan 2026 15:21:33 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 4F47235174C; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Julian Ganz , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 4/9] tests: fix comment declaring runtime in rv64 interruptedmemory test Date: Tue, 20 Jan 2026 15:21:41 +0300 Message-ID: <20260120122150.2254321-5-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-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=lists.gnu.org; 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-ZM-MESSAGEID: 1768912899101154100 Content-Type: text/plain; charset="utf-8" From: Julian Ganz The test attempts to trigger a regression for arount 30s. However, a comment just before the computation of the target wall clock time falsly declares the run time to be around 60s. This was the case already when we introduced the test in 5241645c47a9987f4fcc65bab303a444966b7942 (tests: add test with interrupted memory accesses on rv64) Signed-off-by: Julian Ganz Reviewed-by: Daniel Henrique Barboza Signed-off-by: Michael Tokarev --- tests/tcg/riscv64/interruptedmemory.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tcg/riscv64/interruptedmemory.S b/tests/tcg/riscv64/inte= rruptedmemory.S index cd9073ee31..c154f93839 100644 --- a/tests/tcg/riscv64/interruptedmemory.S +++ b/tests/tcg/riscv64/interruptedmemory.S @@ -25,7 +25,7 @@ _start: li a0, 0x03 # 8N1, DLAB=3D0 sb a0, 3(t1) =20 - # Run test for around 60s + # Run test for around 30s call rtc_get li t0, 30 slli t0, t0, 30 # Approx. 10e9 ns --=20 2.47.3 From nobody Mon Feb 9 11:50:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1768913241393587.4660306813269; Tue, 20 Jan 2026 04:47:21 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viAzV-0001oD-Jy; Tue, 20 Jan 2026 07:37:49 -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 1viAye-0001SM-AZ; Tue, 20 Jan 2026 07:36:56 -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 1viAyc-0002Us-6V; Tue, 20 Jan 2026 07:36:55 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id EC6131802C4; Tue, 20 Jan 2026 15:21:33 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 67B0F35174D; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Thomas Huth , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 5/9] configure: Set $PYTHON in the configuration of the optionroms Date: Tue, 20 Jan 2026 15:21:42 +0300 Message-ID: <20260120122150.2254321-6-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-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=lists.gnu.org; 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-ZM-MESSAGEID: 1768913243001158500 From: Thomas Huth pc-bios/optionrom/Makefile uses $(PYTHON) for running a Python script, but this variable is never initialized here. So the script gets run via its shebang line - which fails if the "python3" binary is not available on the system. To fix this, write the PYTHON configuration to the config.mak file of the optionroms. Signed-off-by: Thomas Huth Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index e69b3e474e..0d73eefc15 100755 --- a/configure +++ b/configure @@ -1632,6 +1632,7 @@ probe_target_compiler() { } =20 write_target_makefile() { + echo "PYTHON=3D$python" echo "EXTRA_CFLAGS=3D$target_cflags" if test -z "$target_cc" && test -z "$target_as"; then test -z "$container_image" && error_exit "Internal error: could not fi= nd cross compiler for $1?" --=20 2.47.3 From nobody Mon Feb 9 11:50:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1768912878591212.18612791329429; Tue, 20 Jan 2026 04:41:18 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viAze-0001ze-AZ; Tue, 20 Jan 2026 07:37:59 -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 1viAzF-0001ez-Tl; Tue, 20 Jan 2026 07:37:35 -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 1viAzA-0002YT-Pk; Tue, 20 Jan 2026 07:37:32 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 055E11802C5; Tue, 20 Jan 2026 15:21:34 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 801B035174E; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Thomas Huth , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 6/9] tests/qemu-iotests: Use "gsed" for expressions that require GNU sed Date: Tue, 20 Jan 2026 15:21:43 +0300 Message-ID: <20260120122150.2254321-7-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-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=lists.gnu.org; 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-ZM-MESSAGEID: 1768912881008154100 From: Thomas Huth A bunch of tests are currently failing e.g. on FreeBSD like this: 082 fail [13:38:58] [13:38:59] 0.5s output mismatch (see .../build/tests/qemu-iotests/scratch/qcow2-file-082/082.out= .bad) --- .../src/tests/qemu-iotests/082.out +++ .../build/tests/qemu-iotests/scratch/qcow2-file-082/082.out.bad @@ -17,7 +17,7 @@ cluster_size: 4096 Format specific information: compat: 1.1 - compression type: COMPRESSION_TYPE + compression type: zlib lazy refcounts: true refcount bits: 16 corrupt: false This happens because the sed statements require GNU sed. Let's use gsed in these spots to get it fixed. Signed-off-by: Thomas Huth Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- tests/qemu-iotests/286 | 2 +- tests/qemu-iotests/common.rc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/286 b/tests/qemu-iotests/286 index 38216c2a0e..cc6aacf022 100755 --- a/tests/qemu-iotests/286 +++ b/tests/qemu-iotests/286 @@ -62,7 +62,7 @@ wait=3Dyes _cleanup_qemu =20 echo 'Output structure:' $QEMU_IMG snapshot -l "$TEST_IMG" | tail -n 1 | tr -s ' ' \ - | sed -e 's/\S\+/./g' \ + | gsed -e 's/\S\+/./g' \ | sed -e 's/\./(snapshot ID)/' \ -e 's/\./(snapshot name)/' \ -e 's/\./(VM state size value)/' \ diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index c0f8f0f8df..731e4b2b99 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -719,7 +719,7 @@ _img_info() regex_json_spec_start=3D'^ *"format-specific": \{' regex_json_child_start=3D'^ *"children": \[' $QEMU_IMG info $QEMU_IMG_EXTRA_ARGS "$@" "$TEST_IMG" 2>&1 | \ - sed -e "s#$REMOTE_TEST_DIR#TEST_DIR#g" \ + gsed -e "s#$REMOTE_TEST_DIR#TEST_DIR#g" \ -e "s#$IMGPROTO:$TEST_DIR#TEST_DIR#g" \ -e "s#$TEST_DIR#TEST_DIR#g" \ -e "s#$SOCK_DIR/fuse-#TEST_DIR/#g" \ --=20 2.47.3 From nobody Mon Feb 9 11:50:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1768913235646983.8281122182921; Tue, 20 Jan 2026 04:47:15 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viAzV-0001oC-Je; Tue, 20 Jan 2026 07:37:49 -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 1viAyy-0001X4-La; Tue, 20 Jan 2026 07:37:18 -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 1viAyu-0002X7-8X; Tue, 20 Jan 2026 07:37:13 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 1C1B11802C6; Tue, 20 Jan 2026 15:21:34 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id 8D3D535174F; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Thomas Huth , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 7/9] MAINTAINERS: Add docs/system/i386/ to the general x86 architecture section Date: Tue, 20 Jan 2026 15:21:44 +0300 Message-ID: <20260120122150.2254321-8-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-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=lists.gnu.org; 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-ZM-MESSAGEID: 1768913239146158500 From: Thomas Huth We've got a section for generic x86 architecture support in our MAINTAINERS file - this should cover the docs/system/i386/ folder, too. Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Pierrick Bouvier Reviewed-by: Zhao Liu Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c1e586c58f..81c013fea2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -143,6 +143,7 @@ S: Maintained F: configs/devices/i386-softmmu/default.mak F: configs/targets/i386-softmmu.mak F: configs/targets/x86_64-softmmu.mak +F: docs/system/i386/ F: docs/system/target-i386* F: target/i386/*.[ch] F: target/i386/Kconfig --=20 2.47.3 From nobody Mon Feb 9 11:50:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 176891270405471.97706038509659; Tue, 20 Jan 2026 04:38:24 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viAzb-0001wI-WA; Tue, 20 Jan 2026 07:37:56 -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 1viAyf-0001T7-16; Tue, 20 Jan 2026 07:36:57 -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 1viAyd-0002V7-EC; Tue, 20 Jan 2026 07:36:56 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 295DD1802C7; Tue, 20 Jan 2026 15:21:34 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id A3D11351750; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Florian Hofhammer , qemu-trivial@nongnu.org, Michael Tokarev Subject: [PULL 8/9] configure: add ppc target back to container tests Date: Tue, 20 Jan 2026 15:21:45 +0300 Message-ID: <20260120122150.2254321-9-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-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=lists.gnu.org; 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-ZM-MESSAGEID: 1768912708705158500 From: Florian Hofhammer Commit 2ff8c9a298 removed support for 32-bit PPC hosts from the build system. Unfortunately, the patch also removed the 32-bit PPC target for containerized tests, which leads to an error when trying to run tests, e.g., with "make check-tcg": "make[1]: *** No rule to make target 'docker-image-debian-ppc-cross', needed by 'build-tcg-tests-ppc-linux-user'. Stop." This patch adds the PPC target back for containerized tests. Fixes: 2ff8c9a2984b ("buildsys: Remove support for 32-bit PPC hosts") Signed-off-by: Florian Hofhammer Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Michael Tokarev [Mjt: specify commit subject in Fixes tag) Signed-off-by: Michael Tokarev --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0d73eefc15..213880df89 100755 --- a/configure +++ b/configure @@ -1451,7 +1451,7 @@ probe_target_compiler() { container_image=3Ddebian-all-test-cross container_cross_prefix=3Dmips64-linux-gnuabi64- ;; - ppc64|ppc64le) + ppc|ppc64|ppc64le) container_image=3Ddebian-all-test-cross container_cross_prefix=3Dpowerpc${target_arch#ppc}-linux-gnu- ;; --=20 2.47.3 From nobody Mon Feb 9 11:50:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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 lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1768912693762746.1477946332645; Tue, 20 Jan 2026 04:38:13 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viAzT-0001ki-Qo; Tue, 20 Jan 2026 07:37:48 -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 1viAyb-0001PY-TM; Tue, 20 Jan 2026 07:36:54 -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 1viAyY-0002U5-OV; Tue, 20 Jan 2026 07:36:53 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 433211802C8; Tue, 20 Jan 2026 15:21:34 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id B0E87351751; Tue, 20 Jan 2026 15:21:51 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , qemu-trivial@nongnu.org, qemu-stable@nongnu.org, Michael Tokarev Subject: [PULL 9/9] linux-user/aarch64/target_fcntl.h: add missing TARGET_O_LARGEFILE definition Date: Tue, 20 Jan 2026 15:21:46 +0300 Message-ID: <20260120122150.2254321-10-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260120122150.2254321-1-mjt@tls.msk.ru> References: <20260120122150.2254321-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=lists.gnu.org; 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-ZM-MESSAGEID: 1768912705354154100 From: Pierrick Bouvier This caused a failure with program using openat2, where O_LARGEFILE was replaced by O_NOFOLLOW. This issue is only visible when QEMU is compiled with musl libc, where O_LARGEFILE is different from 0 (vs glibc). Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3262 Cc: qemu-stable@nongnu.org Signed-off-by: Pierrick Bouvier Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- linux-user/aarch64/target_fcntl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/aarch64/target_fcntl.h b/linux-user/aarch64/target_= fcntl.h index efdf6e5f05..55ab788a7c 100644 --- a/linux-user/aarch64/target_fcntl.h +++ b/linux-user/aarch64/target_fcntl.h @@ -11,6 +11,7 @@ #define TARGET_O_DIRECTORY 040000 /* must be a directory */ #define TARGET_O_NOFOLLOW 0100000 /* don't follow links */ #define TARGET_O_DIRECT 0200000 /* direct disk access hint */ +#define TARGET_O_LARGEFILE 0400000 =20 #include "../generic/fcntl.h" #endif --=20 2.47.3