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é <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Richard Henderson <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
---
  include/hw/core/cpu.h |  8 ++++++++
  system/cpus.c         | 30 +++++++++++++++++-------------
  2 files changed, 25 insertions(+), 13 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>


Reply via email to