Re: [RFC PATCH 04/22] exec/cpu: Never call cpu_reset() before cpu_realize()

2023-11-28 Thread Igor Mammedov
On Mon, 18 Sep 2023 18:02:37 +0200 Philippe Mathieu-Daudé wrote: > QDev instance is expected to be in an unknown state until full > object realization. Thus we shouldn't call DeviceReset() on an > unrealized instance. Move the cpu_reset() call from *before* > the parent realize() handler (effecti

Re: [RFC PATCH 04/22] exec/cpu: Never call cpu_reset() before cpu_realize()

2023-09-29 Thread Richard Henderson
On 9/18/23 09:02, Philippe Mathieu-Daudé wrote: QDev instance is expected to be in an unknown state until full object realization. Thus we shouldn't call DeviceReset() on an unrealized instance. Move the cpu_reset() call from*before* the parent realize() handler (effectively cpu_common_realizefn)

[RFC PATCH 04/22] exec/cpu: Never call cpu_reset() before cpu_realize()

2023-09-18 Thread Philippe Mathieu-Daudé
QDev instance is expected to be in an unknown state until full object realization. Thus we shouldn't call DeviceReset() on an unrealized instance. Move the cpu_reset() call from *before* the parent realize() handler (effectively cpu_common_realizefn) to *after* it. Signed-off-by: Philippe Mathieu-