mbox series

[0/7] cpus: Constify some CPUState arguments

Message ID 20250120061310.81368-1-philmd@linaro.org (mailing list archive)
Headers show
Series cpus: Constify some CPUState arguments | expand

Message

Philippe Mathieu-Daudé Jan. 20, 2025, 6:13 a.m. UTC
This is in preparation of making various CPUClass handlers
take a const CPUState argument.

Philippe Mathieu-Daudé (7):
  qemu/thread: Constify qemu_thread_get_affinity() 'thread' argument
  qemu/thread: Constify qemu_thread_is_self() argument
  cpus: Constify qemu_cpu_is_self() argument
  cpus: Constify cpu_get_address_space() 'cpu' argument
  cpus: Constify cpu_is_stopped() argument
  cpus: Constify cpu_work_list_empty() argument
  accels: Constify AccelOpsClass::cpu_thread_is_idle() argument

 include/hw/core/cpu.h             | 6 +++---
 include/qemu/thread.h             | 6 +++---
 include/system/accel-ops.h        | 2 +-
 include/system/cpus.h             | 2 +-
 accel/kvm/kvm-accel-ops.c         | 2 +-
 bsd-user/main.c                   | 2 +-
 linux-user/main.c                 | 2 +-
 system/cpus.c                     | 6 +++---
 system/physmem.c                  | 2 +-
 target/i386/whpx/whpx-accel-ops.c | 2 +-
 util/qemu-thread-posix.c          | 6 +++---
 util/qemu-thread-win32.c          | 6 +++---
 12 files changed, 22 insertions(+), 22 deletions(-)