Re: [for-5.0 PATCH 2/3] cpu: Introduce cpu_class_set_parent_reset()

2019-12-09 Thread Cornelia Huck
On Fri, 06 Dec 2019 19:44:00 +0100 Greg Kurz wrote: > Similarly to what we already do with qdev, use a helper to overload the > reset QOM methods of the parent in children classes, for clarity. > > Signed-off-by: Greg Kurz > --- > hw/core/cpu.c |8 > include/hw/core/cpu.h

Re: [for-5.0 PATCH 2/3] cpu: Introduce cpu_class_set_parent_reset()

2019-12-08 Thread Alistair Francis
On Fri, Dec 6, 2019 at 10:44 AM Greg Kurz wrote: > > Similarly to what we already do with qdev, use a helper to overload the > reset QOM methods of the parent in children classes, for clarity. > > Signed-off-by: Greg Kurz Reviewed-by: Alistair Francis Alistair > --- > hw/core/cpu.c |

Re: [for-5.0 PATCH 2/3] cpu: Introduce cpu_class_set_parent_reset()

2019-12-08 Thread David Gibson
On Fri, Dec 06, 2019 at 07:44:00PM +0100, Greg Kurz wrote: > Similarly to what we already do with qdev, use a helper to overload the > reset QOM methods of the parent in children classes, for clarity. > > Signed-off-by: Greg Kurz Reviewed-by: David Gibson > --- > hw/core/cpu.c |8

[for-5.0 PATCH 2/3] cpu: Introduce cpu_class_set_parent_reset()

2019-12-06 Thread Greg Kurz
Similarly to what we already do with qdev, use a helper to overload the reset QOM methods of the parent in children classes, for clarity. Signed-off-by: Greg Kurz --- hw/core/cpu.c |8 include/hw/core/cpu.h |4 2 files changed, 12 insertions(+) diff --git a/hw/core