Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2215957/?format=api
{ "id": 2215957, "url": "http://patchwork.ozlabs.org/api/patches/2215957/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260325151728.45378-7-philmd@linaro.org/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260325151728.45378-7-philmd@linaro.org>", "list_archive_url": null, "date": "2026-03-25T15:17:28", "name": "[NOTFORMERGE,6/6] buildsys: Allow building guest-agent on 32-bit hosts", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "dfc6a3d70d1518d40559c16b25cb840f0347ecde", "submitter": { "id": 85046, "url": "http://patchwork.ozlabs.org/api/people/85046/?format=api", "name": "Philippe Mathieu-Daudé", "email": "philmd@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260325151728.45378-7-philmd@linaro.org/mbox/", "series": [ { "id": 497463, "url": "http://patchwork.ozlabs.org/api/series/497463/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=497463", "date": "2026-03-25T15:17:22", "name": "qom: Restrict compat properties API to system emulation", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497463/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2215957/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2215957/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=mFjLHo9j;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgrCR4wDXz1xy3\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 02:18:43 +1100 (AEDT)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1w5Q01-0005aL-Rr; Wed, 25 Mar 2026 11:18:25 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1w5Pzv-0005Cx-Mx\n for qemu-devel@nongnu.org; Wed, 25 Mar 2026 11:18:20 -0400", "from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1w5Pzt-0000Uy-Lp\n for qemu-devel@nongnu.org; Wed, 25 Mar 2026 11:18:19 -0400", "by mail-wm1-x32e.google.com with SMTP id\n 5b1f17b1804b1-486fb14227cso27726625e9.3\n for <qemu-devel@nongnu.org>; Wed, 25 Mar 2026 08:18:17 -0700 (PDT)", "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-4871e60322asm1408455e9.7.2026.03.25.08.18.14\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Wed, 25 Mar 2026 08:18:15 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1774451896; x=1775056696; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=cHp+isFeJ+Vwq620YK3TTBZ1M5KgDnZyZo3PdDfV4Bw=;\n b=mFjLHo9jYg43yirpOTJqhwgWbHEJYkPLWr956jdWuSTeBTBt9OIA2aBueU2+fBcwWo\n +tKCkqTVeiX7/fpF21veSlIlbgXCtvqVnKOv+bWFal0Of+OQwfGXicHDv7oVwUXpy/S3\n 8ujPuTDTPgBsbbt7XZmp2DRNRATOAY7d7qx8HoPyr1QWsPxpCN6CBRCtS6V01P+jWd0G\n VAquij1iRRPZHq9u8WTWYlxHkZh0wWqiKo4DwlDU0F4rzaYxXXm1iufHMyvkwukjfRpe\n 5munUnd4Z4MpIctWb/NL8jtjP6pjRbwGU9Mah7gkTaRBPNtn45xE/ZEOSBri1cXiXjNE\n IUmg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774451896; x=1775056696;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=cHp+isFeJ+Vwq620YK3TTBZ1M5KgDnZyZo3PdDfV4Bw=;\n b=WBMSvTwsj2u9gIFp2ZqnQI/GRPVkPRsaWKBzFHyl+NPdct6SNvYsSOzr1RzsR7EWRi\n 6QSqGw5hIMIGZdv6Kwc7W3rwziCwU+bhRb9XDQuubii4s1W8hdeYH1Irrq65SrtK+c9U\n FwntwQj6NEPKq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3f58:d9f with SMTP id\n 5b1f17b1804b1-487160a24e2mr43858395e9.30.1774451895998;\n Wed, 25 Mar 2026 08:18:15 -0700 (PDT)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>", "To": "Michael Tokarev <mjt@tls.msk.ru>,\n\tqemu-devel@nongnu.org", "Cc": "=?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>,\n Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?Philippe_Mathie?=\n\t=?utf-8?q?u-Daud=C3=A9?= <philmd@linaro.org>, =?utf-8?q?Daniel_P=2E_Berrang?=\n\t=?utf-8?q?=C3=A9?= <berrange@redhat.com>,\n Paolo Bonzini <pbonzini@redhat.com>,\n =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, kvm@vger.kernel.org", "Subject": "[NOTFORMERGE PATCH 6/6] buildsys: Allow building guest-agent on\n 32-bit hosts", "Date": "Wed, 25 Mar 2026 16:17:28 +0100", "Message-ID": "<20260325151728.45378-7-philmd@linaro.org>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260325151728.45378-1-philmd@linaro.org>", "References": "<20260325151728.45378-1-philmd@linaro.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=2a00:1450:4864:20::32e;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x32e.google.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, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n 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 <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "Partially revert commit range 5053e0a65db...90e2e8ada7c.\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\n---\n configure | 64 +++++++++++++++++++++++++++++++++++++++++++----------\n meson.build | 2 +-\n 2 files changed, 53 insertions(+), 13 deletions(-)", "diff": "diff --git a/configure b/configure\nindex eea90306728..e984ec2bd3c 100755\n--- a/configure\n+++ b/configure\n@@ -381,6 +381,8 @@ fi\n if test ! -z \"$cpu\" ; then\n # command line argument\n :\n+elif check_define __i386__ ; then\n+ cpu=\"i386\"\n elif check_define __x86_64__ ; then\n if check_define __ILP32__ ; then\n cpu=\"x32\"\n@@ -399,22 +401,30 @@ elif check_define _ARCH_PPC64 ; then\n else\n cpu=\"ppc64\"\n fi\n-elif check_define __mips64 ; then\n- cpu=\"mips64\"\n+elif check_define __mips__ ; then\n+ if check_define __mips64 ; then\n+ cpu=\"mips64\"\n+ fi\n elif check_define __s390__ ; then\n if check_define __s390x__ ; then\n cpu=\"s390x\"\n else\n cpu=\"s390\"\n fi\n-elif check_define __riscv && check_define _LP64 ; then\n- cpu=\"riscv64\"\n+elif check_define __riscv ; then\n+ if check_define _LP64 ; then\n+ cpu=\"riscv64\"\n+ else\n+ cpu=\"riscv32\"\n+ fi\n+elif check_define __arm__ ; then\n+ cpu=\"arm\"\n elif check_define __aarch64__ ; then\n cpu=\"aarch64\"\n elif check_define __loongarch64 ; then\n cpu=\"loongarch64\"\n elif check_define EMSCRIPTEN ; then\n- error_exit \"wasm64 must be specified to the cpu flag\"\n+ error_exit \"wasm32 or wasm64 must be specified to the cpu flag\"\n else\n # Using uname is really broken, but it is just a fallback for architectures\n # that are going to use TCI anyway\n@@ -440,6 +450,18 @@ case \"$cpu\" in\n linux_arch=arm64\n ;;\n \n+ armv*b|armv*l|arm)\n+ cpu=arm\n+ host_arch=arm\n+ ;;\n+\n+ i386|i486|i586|i686)\n+ cpu=\"i386\"\n+ host_arch=i386\n+ linux_arch=x86\n+ CPU_CFLAGS=\"-m32\"\n+ ;;\n+\n loongarch*)\n cpu=loongarch64\n host_arch=loongarch64\n@@ -448,7 +470,7 @@ case \"$cpu\" in\n \n mips64*|mipsisa64*)\n cpu=mips64\n- host_arch=mips64\n+ host_arch=mips\n linux_arch=mips\n ;;\n \n@@ -464,8 +486,8 @@ case \"$cpu\" in\n CPU_CFLAGS=\"-m64 -mlittle-endian\"\n ;;\n \n- riscv64)\n- host_arch=riscv64\n+ riscv32 | riscv64)\n+ host_arch=riscv\n linux_arch=riscv\n ;;\n \n@@ -500,6 +522,9 @@ case \"$cpu\" in\n linux_arch=x86\n CPU_CFLAGS=\"-m64\"\n ;;\n+ wasm32)\n+ CPU_CFLAGS=\"-m32\"\n+ ;;\n wasm64)\n CPU_CFLAGS=\"-m64 -sMEMORY64=$wasm64_memory64\"\n ;;\n@@ -1287,7 +1312,7 @@ EOF\n test \"$bigendian\" = no && rust_arch=${rust_arch}el\n ;;\n \n- riscv64)\n+ riscv32|riscv64)\n # e.g. riscv64gc-unknown-linux-gnu, but riscv64-linux-android\n test \"$android\" = no && rust_arch=${rust_arch}gc\n ;;\n@@ -1449,18 +1474,26 @@ probe_target_compiler() {\n container_image=debian-all-test-cross\n container_cross_prefix=aarch64-linux-gnu-\n ;;\n- alpha|hppa|m68k|mips|riscv64|sh4|sparc64)\n+ hppa|m68k|mips|riscv64|sparc64)\n container_image=debian-all-test-cross\n ;;\n mips64)\n container_image=debian-all-test-cross\n container_cross_prefix=mips64-linux-gnuabi64-\n ;;\n- ppc|ppc64|ppc64le)\n+ ppc64|ppc64le)\n container_image=debian-all-test-cross\n container_cross_prefix=powerpc${target_arch#ppc}-linux-gnu-\n ;;\n \n+ # debian-legacy-test-cross architectures (need Debian 11)\n+ # - libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412\n+ # - sh4-linux-user: binaries don't run with bookworm compiler\n+\n+ alpha|sh4)\n+ container_image=debian-legacy-test-cross\n+ ;;\n+\n # architectures with individual containers\n \n aarch64)\n@@ -1930,7 +1963,14 @@ if test \"$skip_meson\" = no; then\n if test \"$cross_compile\" = \"yes\"; then\n echo \"[host_machine]\" >> $cross\n echo \"system = '$host_os'\" >> $cross\n- echo \"cpu_family = '$cpu'\" >> $cross\n+ case \"$cpu\" in\n+ i386)\n+ echo \"cpu_family = 'x86'\" >> $cross\n+ ;;\n+ *)\n+ echo \"cpu_family = '$cpu'\" >> $cross\n+ ;;\n+ esac\n echo \"cpu = '$cpu'\" >> $cross\n if test \"$bigendian\" = \"yes\" ; then\n echo \"endian = 'big'\" >> $cross\ndiff --git a/meson.build b/meson.build\nindex d7c4095b395..ae412263ec7 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -323,7 +323,7 @@ endif\n # Compiler flags #\n ##################\n \n-if cc.sizeof('void *') < 8\n+if not have_ga and cc.sizeof('void *') < 8\n error('QEMU requires a 64-bit CPU host architecture')\n endif\n \n", "prefixes": [ "NOTFORMERGE", "6/6" ] }