qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-9.2 02/10] target/s390: Convert CPU to Resettable interfa


From: Richard Henderson
Subject: Re: [PATCH for-9.2 02/10] target/s390: Convert CPU to Resettable interface
Date: Wed, 14 Aug 2024 09:03:47 +1000
User-agent: Mozilla Thunderbird

On 8/14/24 02:52, Peter Maydell wrote:
  static void sigp_cpu_reset(CPUState *cs, run_on_cpu_data arg)
  {
-    S390CPU *cpu = S390_CPU(cs);
-    S390CPUClass *scc = S390_CPU_GET_CLASS(cpu);
      SigpInfo *si = arg.host_ptr;
cpu_synchronize_state(cs);
-    scc->reset(cs, S390_CPU_RESET_NORMAL);
+    resettable_reset(OBJECT(cs), RESET_TYPE_COLD);

NORMAL, not COLD here?

Otherwise,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]