]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Have s390_cpu_halt() not return anything
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 8 Jul 2025 09:57:45 +0000 (11:57 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 11 Jul 2025 08:33:56 +0000 (10:33 +0200)
commit693b3039d77195953e70f008991c80bf9c5b9691
treee760a04db860e9799858aadc1e59e1f9bfdaad0e
parentb1180352f1c758ba4270cdaa3c41ceead3a43aad
target/s390x: Have s390_cpu_halt() not return anything

Since halting a vCPU and how many left running do not need
to be tied together, split the s390_count_running_cpus()
call out of s390_cpu_halt() to the single caller using it:
s390_handle_wait().

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250708095746.12697-4-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/cpu-system.c
target/s390x/helper.c
target/s390x/s390x-internal.h