hw/core/cpu: Expose CPUState::start_powered_off docstring
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é <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260423170229.64655-6-philmd@linaro.org>
Philippe Mathieu-Daudé committed
Aug 26, 2025 at 16:29 UTC
790d65e1a1a7928d9ba5200d7d63c08680c09641
1 file changed
+1
-1
include/hw/core/cpu.h
+1
-1
@@ -419,6 +419,7 @@ struct qemu_work_item;
419
* QOM parent.
420
* Under TCG this value is propagated to @tcg_cflags.
421
* See TranslationBlock::TCG CF_CLUSTER_MASK.
422
+ * @start_powered_off: Indicates whether the CPU starts in powered-off state.
423
* @tcg_cflags: Pre-computed cflags for this cpu.
424
* @nr_threads: Number of threads within this CPU core.
425
* @thread: Host thread details, only live once @created is #true
@@ -502,7 +503,6 @@ struct CPUState {
503
bool stop;
504
bool stopped;
505
505
- /* Should CPU start in powered-off state? */
506
bool start_powered_off;
507
508
bool unplug;