Re: [Qemu-devel] [PATCH 16/52] target-ppc: make cpu-qom.h not target specific

2016-05-18 Thread Thomas Huth
On 18.05.2016 18:36, Paolo Bonzini wrote: > Make PowerPCCPU an opaque type within cpu-qom.h, and move all definitions > of private methods, as well as all type definitions that require knowledge > of the layout to cpu.h. Conversely, move all definitions needed to define > a class to cpu-qom.h. Th

[Qemu-devel] [PATCH 16/52] target-ppc: make cpu-qom.h not target specific

2016-05-18 Thread Paolo Bonzini
Make PowerPCCPU an opaque type within cpu-qom.h, and move all definitions of private methods, as well as all type definitions that require knowledge of the layout to cpu.h. Conversely, move all definitions needed to define a class to cpu-qom.h. This helps making files independent of NEED_CPU_H if