On 3/24/25 11:46, Philippe Mathieu-Daudé wrote:
Both s390_cpu_list() and s390_set_qemu_cpu_model() are
defined in cpu_models.c, move their declarations in the
related "cpu_models.h" header. Use full path to header
in s390-virtio-ccw.c file.

Suggested-by: Thomas Huth <th...@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
  target/s390x/cpu.h         | 4 ----
  target/s390x/cpu_models.h  | 3 +++
  hw/s390x/s390-virtio-ccw.c | 2 +-
  3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/target/s390x/cpu.h b/target/s390x/cpu.h
index 5b7992deda6..8dd1936e3e2 100644
--- a/target/s390x/cpu.h
+++ b/target/s390x/cpu.h
@@ -900,11 +900,7 @@ static inline uint8_t s390_cpu_get_state(S390CPU *cpu)
  }
-/* cpu_models.c */
-void s390_cpu_list(void);

Are you really able to remove this here, without the next patch?


r~

Reply via email to