From nobody Sun Sep 28 16:30:44 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1758735792; cv=none; d=zohomail.com; s=zohoarc; b=AfYxBhNLbtSTDa5xuuSpCVmHefaLuBa2SsgVKFcXDQVJM1ZPxUgHAjT18vzdn+9zrbjN/kUjd3z01exIWevJaGFgchih09SBnHAlHPFCvwi0qn6McwlvjGeg9vjIgEc48ia89hLEKUI+NvMw7Uqstz0gfW9T1APzW3V+X88/PLQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1758735792; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=XgP/SlDqzLAkZxB07VH59pvZW9H2es6rdlsD06W1oMQ=; b=aw0z6rHgGT1CK5w4vd04koLtWB3pIWffxgRfDK4V9QJTiiPkS9uxVfZgZvMwAUxpY4N+tM9cATWIo27Td+sFLLXO+T1Lh09DywwdXs/9YRGyUYLpNcSCtd4ZVrylsXjLAPjFdRHI3mKuot6duajpiK3JT0qS0q8G0ZN7uNTvkCU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1758735792948749.8384831760227; Wed, 24 Sep 2025 10:43:12 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v1TUh-0002WE-GO; Wed, 24 Sep 2025 13:41:33 -0400 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 1v1TUZ-0002Si-F6 for qemu-devel@nongnu.org; Wed, 24 Sep 2025 13:41:24 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1v1TU8-0001La-N3 for qemu-devel@nongnu.org; Wed, 24 Sep 2025 13:41:23 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-3f2cf786abeso96031f8f.3 for ; Wed, 24 Sep 2025 10:40:54 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3ee07412111sm28505631f8f.28.2025.09.24.10.40.51 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 24 Sep 2025 10:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1758735652; x=1759340452; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XgP/SlDqzLAkZxB07VH59pvZW9H2es6rdlsD06W1oMQ=; b=kXL2q5gU8Bq/wAqQFBJuU55tb1C0Np99ySZ7LzR534vI5rYjrW784bzzUMGox+umwH CZGLpotvKDUwQlbXvxZDXTbLsxYs756lFvu5tZI4kAqAnabIC2ZT9GJWgi+ORwiGNxSg UfCJ7qDaSSQJKfOHgNWzsHFG2DzJ7JbDD7ORL2OuXl2pJQYZcgW4gKsD+KnMcy8Kjmxn bL8IrEL1zVudIOHOXvE3dm6OrNiwGpf1/KEjGEYjBbt76hPVmgCTAdLXSmBEFC7cmvWX /AVbWote0ow7FuN8UXdeNIaCpexcdwuJSs0AhHIvQa9svCkSuvX6crs0mcCN7cFzCIYT ddNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758735652; x=1759340452; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XgP/SlDqzLAkZxB07VH59pvZW9H2es6rdlsD06W1oMQ=; b=v9K8Nfwdt0bv8POGDRSZj2EDOFMESId/8DO97aCke+FEVOk7giSW7BkwYi+YSCIjED EDxCyDveSdHWhefgJEC63Y5QbrUJrvQR9LkGJrviW8VanJ/i/IaOd9b2YS+ZiqPxeLIj PkkpcZkAzPTLDY1Gp1GVJR5gBKK+pp/Rk8WdMrZPr/fuQSUAd5v030Yxa+ERV1vAktV0 /fGLosePmPv2dANTI+BqxDeSydMB0F5QdgoxLPRCRLc0RdsFBEKeMC0LDETxX7INJt6U +KopzGa0olSl2JjJyHChWlrs5X4vwtMvw1VebJasaC9D8E1GOUI332r+ajSohcEGWWAv nuWw== X-Gm-Message-State: AOJu0YxwJECqVgOqU7CJIqL2bDU+v3Vu2k7dvjO1mgaCsvitorDM/WSr qnk2SLS5qlpkLiv618eXDo6pMh3KBp9q0opCo6SA+d+W+eOzc9KE00obGbH3Uy5WbZtG2EukaRm /LHJ/KNi98Q== X-Gm-Gg: ASbGncsD5r0QGQcOAgS7NFr3E3vPiv1Yr1iPtmuxeqk0Tx4r+MiI1nRx+LK8A6ej8QM UK3+KFqmkFc6QlPd85IUJsfmiBThbumVSnowFQoTdNHPJyWZXdCjTc6TNALQEV2mnxvhjsyvkw5 gc+UQtt1HKQSeArW+eL9clgKbRTS1WPTx/MewlbytFFbCzgOi5dByrWSEEBJtmtcx2zGxFBMEyP Od6xe0ZZBIJ1I/+2Y1pSBViLdixex3fB3v+vx2rpsEgFFvC5dV4eFRzUiAbmdqYM0SWyVOGRCnc 3llriS8NYeY/QlFxfDenxToZEy6PW2bnHo9nlmf5hjFG1I9clajH060uI/osJ6QjzXAEyBFxcVj HKxcybk/pz74EohSa9rDqB9owk35b/VVzNpKmaguiujYWaLtYkKyUfUr5DKgId463ZNtJxDgbep 2rbiJNuo4= X-Google-Smtp-Source: AGHT+IGKALQvK2IymTzirRSUOCHtCFKE3H2+yLOth9dvEL74oPjnNCpbyZHhVRnc4DTnFOlqOR9/dQ== X-Received: by 2002:a05:6000:1848:b0:3e7:4719:a024 with SMTP id ffacd0b85a97d-40e4a8f9a9emr531836f8f.18.1758735652416; Wed, 24 Sep 2025 10:40:52 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Marcel Apfelbaum , Eduardo Habkost , Yanan Wang , Zhao Liu , Max Filippov Subject: [PATCH 1/2] hw/core/cpu: Expose CPUState::start_powered_off docstring Date: Wed, 24 Sep 2025 19:40:44 +0200 Message-ID: <20250924174045.54241-2-philmd@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250924174045.54241-1-philmd@linaro.org> References: <20250924174045.54241-1-philmd@linaro.org> 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 client-ip=2a00:1450:4864:20::435; envelope-from=philmd@linaro.org; helo=mail-wr1-x435.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, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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: 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 @linaro.org) X-ZM-MESSAGEID: 1758735794760116600 The comment about @start_powered_off is buried within the CPUState structure. Hoist it to the structure docstring comment. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson --- include/hw/core/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index fb788ca1107..f88765e525c 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -412,6 +412,7 @@ struct qemu_work_item; * QOM parent. * Under TCG this value is propagated to @tcg_cflags. * See TranslationBlock::TCG CF_CLUSTER_MASK. + * @start_powered_off: Indicates whether the CPU starts in powered-off sta= te. * @tcg_cflags: Pre-computed cflags for this cpu. * @nr_threads: Number of threads within this CPU core. * @thread: Host thread details, only live once @created is #true @@ -496,7 +497,6 @@ struct CPUState { bool stop; bool stopped; =20 - /* Should CPU start in powered-off state? */ bool start_powered_off; =20 bool unplug; --=20 2.51.0