]> www.infradead.org Git - qemu-nvme.git/commit
hw: Simplify accesses to the CPUState::'start-powered-off' property
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 22 Nov 2023 17:17:42 +0000 (18:17 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:15 +0000 (16:20 +0100)
commit287fa3232426283a5905643bd5453e28b97fb28c
tree9f811ece9aeba65e6a61d4b138f4e046fc266ecc
parenteab4f398f4c12c57cff0e5c790cf3a7bb1f7769a
hw: Simplify accesses to the CPUState::'start-powered-off' property

The 'start-powered-off' property has been added to ARM CPUs in
commit 5de164304a ("arm: Allow secondary KVM CPUs to be booted
via PSCI"), then eventually got generalized to all CPUs in commit
c1b701587e ("target/arm: Move start-powered-off property to generic
CPUState"). Since all CPUs have it, no need to check whether it is
available. Updating this property can't fail, so use &error_abort.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20231123143813.42632-5-philmd@linaro.org>
hw/arm/armsse.c
hw/arm/armv7m.c
hw/arm/bcm2836.c
hw/mips/cps.c
hw/ppc/e500.c
hw/sparc/sun4m.c