Re: [PATCH 02/17] hw/arm/spitz: Create SpitzMachineClass abstract base class

2020-06-29 Thread Peter Maydell
On Mon, 29 Jun 2020 at 09:55, Philippe Mathieu-Daudé wrote: > > On 6/28/20 4:24 PM, Peter Maydell wrote: > > For the four Spitz-family machines (akita, borzoi, spitz, terrier) > > create a proper abstract class SpitzMachineClass which encapsulates > > the common behaviour, rather than having them

Re: [PATCH 02/17] hw/arm/spitz: Create SpitzMachineClass abstract base class

2020-06-29 Thread Philippe Mathieu-Daudé
On 6/28/20 4:24 PM, Peter Maydell wrote: > For the four Spitz-family machines (akita, borzoi, spitz, terrier) > create a proper abstract class SpitzMachineClass which encapsulates > the common behaviour, rather than having them all derive directly > from TYPE_MACHINE: > * instead of each machine

[PATCH 02/17] hw/arm/spitz: Create SpitzMachineClass abstract base class

2020-06-28 Thread Peter Maydell
For the four Spitz-family machines (akita, borzoi, spitz, terrier) create a proper abstract class SpitzMachineClass which encapsulates the common behaviour, rather than having them all derive directly from TYPE_MACHINE: * instead of each machine class setting mc->init to a wrapper function