Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197054/?format=api
{ "id": 2197054, "url": "http://patchwork.ozlabs.org/api/patches/2197054/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-ppc/patch/20260216213121.47122-9-philmd@linaro.org/", "project": { "id": 69, "url": "http://patchwork.ozlabs.org/api/projects/69/?format=api", "name": "QEMU powerpc development", "link_name": "qemu-ppc", "list_id": "qemu-ppc.nongnu.org", "list_email": "qemu-ppc@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260216213121.47122-9-philmd@linaro.org>", "list_archive_url": null, "date": "2026-02-16T21:31:21", "name": "[v2,8/8] system/globals: Build as common code", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "2051c05fb7e22fb456616a00b468a11d92411d72", "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-ppc/patch/20260216213121.47122-9-philmd@linaro.org/mbox/", "series": [ { "id": 492354, "url": "http://patchwork.ozlabs.org/api/series/492354/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-ppc/list/?series=492354", "date": "2026-02-16T21:31:13", "name": "system: Absorb globals-target.c within common globals.c", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/492354/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2197054/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197054/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-ppc-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=NwwyBEwA;\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-ppc-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 4fFGHT1HLHz1xwC\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 08:33:57 +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-ppc-bounces@nongnu.org>)\n\tid 1vs6Ct-0002Le-KW; Mon, 16 Feb 2026 16:32:39 -0500", "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 1vs6Cg-0001D2-7t\n for qemu-ppc@nongnu.org; Mon, 16 Feb 2026 16:32:31 -0500", "from mail-wm1-x335.google.com ([2a00:1450:4864:20::335])\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 1vs6Ce-00045K-LD\n for qemu-ppc@nongnu.org; Mon, 16 Feb 2026 16:32:25 -0500", "by mail-wm1-x335.google.com with SMTP id\n 5b1f17b1804b1-48371119eacso33114015e9.2\n for <qemu-ppc@nongnu.org>; Mon, 16 Feb 2026 13:32:23 -0800 (PST)", "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-4835dd0e327sm457917305e9.14.2026.02.16.13.32.20\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Mon, 16 Feb 2026 13:32:21 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1771277542; x=1771882342; 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=KmeaTgRcbtYXQZQ0cj05tFFPuUc/ARqWElo1Z0I+CbU=;\n b=NwwyBEwA0pJ8wtCJs45UKzlXPLuFQt33YFPsgu+wcv5wdtcJ5TKyJ2ASzZ3W5UiOWR\n +KzyyS0ozP8m8MsmaDucGQWR2aRQ8i6GrOjggQRE/fPVR45KYXs4n6xx0JcAgRR84dPx\n 23lQ7SdI4LgwxaonXx9/9CfckJWdOu07xIXVbjslnBZwHRlzsDo92XVryGQkxVntdBkI\n 9nwNjvmSyB3A5+CmuzwMATy/lpGukccHUoHtKAp0/7ZFpcCjS++cWDa0w7AwKWS/bWSi\n tnet6BtUxkyCArBem3ckJG+EvF7zA39NgKmH2+ea+Ho6nUzninw0989J/3VNP3LvNXoW\n pnDw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771277542; x=1771882342;\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=KmeaTgRcbtYXQZQ0cj05tFFPuUc/ARqWElo1Z0I+CbU=;\n b=QIn9zQUqD2jCj5/APNNPxtpoNvKIe3BK8M0IA//YhBeeet0+nE3U1L9uconC9FoKTw\n ncG6i/sLP/ElwfEXZ6+xdxCQ0yaCIkRotsG+bYVsah1PrGqK8BHgEc8hg5t1gWWRlZVF\n hUS5iQizUqRsa1tCXUDD+l13cnH7dzs5l1pkp/R+J9A2Df/00yCpptn56uAW0iyU9sGt\n u7WbLhLP+crIrhSRWI0jVmPq6YNR0WF/b/ew0McKrecGeoD2jQFPAHPjbQ7Eylm+5DKZ\n nGX8QBGI0mT7mB4c8ny5zpE6jC7+Vhr+DFhPLjhx8ukqHbB2G5MXufjTq6ihek0o3Kuw\n CkHA==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCWpDNw8I+pZ1Zn4TctF82rFJ8MhKldQPyjJVFsNrWqXaAoBAJn8eVeNLPf/cdfFfTDQ2aYw3e1uUw==@nongnu.org", "X-Gm-Message-State": "AOJu0YwGUsdMT0EMDAUyvEQo8+hDCIEref7NdD9US+9iliz+tD9gSFup\n qpl7BnkPtmZfkinW6xbrkUgS3kk+TY1IhF98Kg99PRhRoFC8kaeaT9Q3w2/7eTRfVpjdWmvU5hc\n hP1Q85ws=", "X-Gm-Gg": "AZuq6aIdMvsi35cHCx1ocq6XlmVc/DKpu1uqQJJzFb9aV0nAWbS4YiJ+D4rlMqFx9O6\n kypnSsaIKw7Npc6S9OUQeddUsokhiinajARA/NoImYTI9Wl28EEN150NlULkJVNHO7YaxhZmDB2\n 1/HUuzV5LGXHswP/m653rDAeIQI3v0ckWY9hz7hBYR/rDp+olCw0pBLmB9ayCOMJNccSdAR6oi+\n lKBaqYEGEVNEBVIhEAZN/u9SK7SmFUc6yAQ1CYyRfsFvx9z7AG2YO+Qtwgfll3xSn0vEVra1iyZ\n Ff4oSY0NcIS0p7ew+wSjcxTt2hsvYJRwHE+zApFT7/+Gbv4v+Iv8JonkH9GTYxuxtiQ+aZ4Soww\n 2bQPyYt2EUH1bWyHti1VS96MJ33PA8BbxLH0A7i01JHVkztpphVOPk2tenyPcB5FfCPCrTM3lTJ\n 81wRErj2E+gl4JCKottwOWIwHRaXWUblQ9yoZfd0cDffwjwaJ7ucitf/Q+kp5DGugfQE7AFywW", "X-Received": "by 2002:a05:600c:1d89:b0:477:5b0a:e616 with SMTP id\n 5b1f17b1804b1-48373a085c8mr213514305e9.5.1771277542204;\n Mon, 16 Feb 2026 13:32:22 -0800 (PST)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>", "To": "qemu-devel@nongnu.org", "Cc": "Nicholas Piggin <npiggin@gmail.com>,\n =?utf-8?q?Herv=C3=A9_Poussineau?= <hpoussin@reactos.org>,\n Paolo Bonzini <pbonzini@redhat.com>, Chinmay Rath <rathc@linux.ibm.com>,\n Artyom Tarasenko <atar4qemu@gmail.com>,\n Pierrick Bouvier <pierrick.bouvier@linaro.org>,\n Laurent Vivier <laurent@vivier.eu>, qemu-ppc@nongnu.org,\n Harsh Prateek Bora <harshpb@linux.ibm.com>,\n Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, =?utf-8?q?Philippe_Mathie?=\n\t=?utf-8?q?u-Daud=C3=A9?= <philmd@linaro.org>", "Subject": "[PATCH v2 8/8] system/globals: Build as common code", "Date": "Mon, 16 Feb 2026 22:31:21 +0100", "Message-ID": "<20260216213121.47122-9-philmd@linaro.org>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20260216213121.47122-1-philmd@linaro.org>", "References": "<20260216213121.47122-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::335;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x335.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-ppc@nongnu.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<qemu-ppc.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-ppc>", "List-Post": "<mailto:qemu-ppc@nongnu.org>", "List-Help": "<mailto:qemu-ppc-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "Now that all targets have the graphic dimension variables\ninitialized the same way, we can move them to the common\nfile unit, having them built once. Remove the now empty\nglobals-target.c file. The command line '-g WxH[xD]' option\nis not changed and behaves the same.\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nReviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>\n---\n system/globals-target.c | 14 --------------\n system/globals.c | 3 +++\n system/meson.build | 4 ----\n 3 files changed, 3 insertions(+), 18 deletions(-)\n delete mode 100644 system/globals-target.c", "diff": "diff --git a/system/globals-target.c b/system/globals-target.c\ndeleted file mode 100644\nindex ffa6c308b59..00000000000\n--- a/system/globals-target.c\n+++ /dev/null\n@@ -1,14 +0,0 @@\n-/*\n- * Global variables that should not exist (target specific)\n- *\n- * Copyright (c) 2003-2008 Fabrice Bellard\n- *\n- * SPDX-License-Identifier: MIT\n- */\n-\n-#include \"qemu/osdep.h\"\n-#include \"system/system.h\"\n-\n-int graphic_width;\n-int graphic_height;\n-int graphic_depth;\ndiff --git a/system/globals.c b/system/globals.c\nindex c33f6ed3902..34fd3ce9c72 100644\n--- a/system/globals.c\n+++ b/system/globals.c\n@@ -49,6 +49,9 @@ bool enable_cpu_pm;\n int autostart = 1;\n int vga_interface_type = VGA_NONE;\n bool vga_interface_created;\n+int graphic_width;\n+int graphic_height;\n+int graphic_depth;\n Chardev *parallel_hds[MAX_PARALLEL_PORTS];\n QEMUOptionRom option_rom[MAX_OPTION_ROMS];\n int nb_option_roms;\ndiff --git a/system/meson.build b/system/meson.build\nindex d91703d3dcc..579e8353d53 100644\n--- a/system/meson.build\n+++ b/system/meson.build\n@@ -1,7 +1,3 @@\n-specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', if_true: [files(\n- 'globals-target.c',\n-)])\n-\n system_ss.add(files(\n 'vl.c',\n ), sdl, libpmem, libdaxctl)\n", "prefixes": [ "v2", "8/8" ] }