On 12/7/24 14:02, Nicholas Piggin wrote:
This factors the CPU pause function from pause_all_vcpus() into a
new cpu_pause() function, similarly to cpu_resume(). cpu_resume()
is moved to keep it next to cpu_pause().
Cc: Philippe Mathieu-Daudé <phi...@linaro.org>
Cc: Peter Xu <pet...@redhat.com>
Cc: Richard Henderson <richard.hender...@linaro.org>
Signed-off-by: Nicholas Piggin <npig...@gmail.com>
---
include/hw/core/cpu.h | 8 ++++++++
system/cpus.c | 30 +++++++++++++++++-------------
2 files changed, 25 insertions(+), 13 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>