Re: [PATCH v2 3/3] hw/arm/aspeed: QOM'ify AspeedMachineState

2020-06-23 Thread Cédric Le Goater
On 6/23/20 9:21 AM, Philippe Mathieu-Daudé wrote: > AspeedMachineState seems crippled. We use incorrectly 2 > different structures to do the same thing. Merge them > altogether: > - Move AspeedMachine fields to AspeedMachineState > - AspeedMachineState is now QOM > - Remove unused AspeedMachine str

[PATCH v2 3/3] hw/arm/aspeed: QOM'ify AspeedMachineState

2020-06-23 Thread Philippe Mathieu-Daudé
AspeedMachineState seems crippled. We use incorrectly 2 different structures to do the same thing. Merge them altogether: - Move AspeedMachine fields to AspeedMachineState - AspeedMachineState is now QOM - Remove unused AspeedMachine structure Signed-off-by: Philippe Mathieu-Daudé --- include/hw