Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 552A9FDEE2C for ; Thu, 23 Apr 2026 17:04:16 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wFxSR-0000hh-5C; Thu, 23 Apr 2026 13:03:19 -0400 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 1wFxSP-0000fP-Eg for qemu-arm@nongnu.org; Thu, 23 Apr 2026 13:03:17 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wFxSK-0005Il-Dn for qemu-arm@nongnu.org; Thu, 23 Apr 2026 13:03:17 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-43d6fbd0954so5474367f8f.1 for ; Thu, 23 Apr 2026 10:03:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1776963791; x=1777568591; 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=1JYwWzQqSdbiTUNYH+gDTHqMgMIp3AmEiP06Alx9Rgc=; b=oewDSZeTM6cVSXORuG8mbK0k8KFlwFPxOR2peVgx7NQGt0xBhIUDyzwlatEBUkr+IE VvkfL/rs0FS910c66bRluFYmGVr9EBrHAd3IUMJjaY01C0XQlIAj5SPYueEvUazSR0cH QHK3S9W9alqWSa/qgcPbVVzkVM+hR7NIEpM/ajZj+H2J9m9ZTSrFulNpIVYeL1DFQL2Y HIfj1Bz2ilNKnfCEr7xv7sOi62++Xu6JrskWeaTO5Q8KRde7xxYSfCAiGY4YGnSc2S97 essx+YOKR3ROpDcjN+rJuOV/9jQEC6PCM7NLyragh4SYaypmriC9t2Bz9opU9Cp2Yw2x a+pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776963791; x=1777568591; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=1JYwWzQqSdbiTUNYH+gDTHqMgMIp3AmEiP06Alx9Rgc=; b=VozQ8xhJM9MzMrpEp/rVqHlxZBXvMeU3a+uKUQmqv5Tl+XhUjYxy/gvdIY7phcR/Wz dQxc/0hB7cEaC8NxSjafOd3OH75wP1ZAY/VQX52vOm6LfNuY8hx+nrc/IFEsHDN4st1p IPlHVSvfpzw5P6FQ/+zjP6qm/1DPlf8kXNNYL1dhaxjqyY80DdKk5bs1WxOSkcNoQAOt Gx7LRj4vIQLLi3pTRTlISIUM/L5n0sNdcPIU+cjd9alYUKUblx9Lr0glvtZz9S6LkGCH Nbr9D3izjN/xtFXJsy/Z0HWNGuGyGqNdG6/Rbw7cdKliE6nOXKEzYN1CFMUjIpBEk8F2 t8fg== X-Forwarded-Encrypted: i=1; AFNElJ/8adLaAu/1ai92Xsj1ioElaIW9t32daG39VUmnIUcHwKarehzVUSLT/zOYy7Bor32IiEDGkyBhTQ==@nongnu.org X-Gm-Message-State: AOJu0Yy037QOQ3HKQ+ESH3QVIFSgBz5BaWqdXx9UxFv3N5pt6GdRY7AP 2hVsO/j2S6JnZLMLmpku7jqBB0/yL8vnubMbL03Q+cNCN5OGgLULv5i+zEz4iGfCu4o= X-Gm-Gg: AeBDiesp3wzK/0F4+NpiE5x7ELGQa3E8xuW0PWU2mMJi0xGCkaRNukcuuIihgx8xpjl w+9QiSi8tPXEYDkLsPQadBI7e7DYyiMEk/sw1F1gOnxp9SPM1SQT1t6Ri8YfH3XEvqYva6D2k9A Lkre5o5yt2aCEIELFkrMp6+g07FyYqgg00cUAQoyxgRG0O9kMDg4wrLKWCENpWbBp3ijQW7Z8FF o3uIQPKIXWOEJrocHS/7p/RWuCScek+nJCDo3ECFTOIcOeL6fDVZQRHKaWR03UgHW99EKeq9fZF vIZ6SWCeXrhFMowYu+iUybdWc3C9AT89hmPNGoINtjqkUzumzqFstKBes6++RlGt/E4/Jlt3UOL cmTsNZiTIUFybjQICj9kheHIw2rSXbnpGuLTaH0QsvIOuorYdmmDIb50ytHvNVB0s9KQ3p99Rwd Ezmf3QXcSOYAR980qtTRlJTWrcGzf89O4qkbNP0bVtE7GduEWoClak2rzrbhnEb6ZetbkIWCryb cOS7plU9Ec= X-Received: by 2002:a05:6000:25c4:b0:43b:8f56:1e1d with SMTP id ffacd0b85a97d-43fe3dc10demr43844816f8f.13.1776963790189; Thu, 23 Apr 2026 10:03:10 -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-43fe4e4eec9sm51475613f8f.34.2026.04.23.10.03.08 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 23 Apr 2026 10:03:09 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Roman Bolshakov , Jonathan Cameron , Mads Ynddal , qemu-arm@nongnu.org, Mohamed Mediouni , Peter Maydell , Richard Henderson , Paolo Bonzini , Alexander Graf , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Marcel Apfelbaum , Yanan Wang , Zhao Liu Subject: [PATCH 05/16] hw/core/cpu: Expose CPUState::start_powered_off docstring Date: Thu, 23 Apr 2026 19:02:17 +0200 Message-ID: <20260423170229.64655-6-philmd@linaro.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260423170229.64655-1-philmd@linaro.org> References: <20260423170229.64655-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::42b; envelope-from=philmd@linaro.org; helo=mail-wr1-x42b.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-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org 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é --- 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 04e1f970caf..bc719d51b3a 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -419,6 +419,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 state. * @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 @@ -502,7 +503,6 @@ struct CPUState { bool stop; bool stopped; - /* Should CPU start in powered-off state? */ bool start_powered_off; bool unplug; -- 2.53.0