]> www.infradead.org Git - qemu-nvme.git/commit
hw/ppc/spapr_cpu_core: Access QDev properties with proper API
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 23 Nov 2023 12:42:35 +0000 (13:42 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (16:20 +0100)
commiteab4f398f4c12c57cff0e5c790cf3a7bb1f7769a
tree498860e34586cc45318db19e1659e7709c0acb60
parent79f5169501396ba90a32971fc66886fcf60ec52f
hw/ppc/spapr_cpu_core: Access QDev properties with proper API

CPUState::start_powered_off field is part of the internal
implementation of a QDev CPU. It is exposed as the QDev
"start-powered-off" property. External components should
use the qdev properties API to access it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Message-Id: <20231123143813.42632-2-philmd@linaro.org>
hw/ppc/spapr_cpu_core.c