Re: [Qemu-devel] [PATCH 15/50] target-s390x: make cpu-qom.h not target specific

2016-05-19 Thread Cornelia Huck
On Mon, 16 May 2016 17:35:47 +0200 Paolo Bonzini wrote: > Make S390XCPU 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. This helps making files independent of

Re: [Qemu-devel] [PATCH 15/50] target-s390x: make cpu-qom.h not target specific

2016-05-17 Thread Thomas Huth
On 16.05.2016 17:35, Paolo Bonzini wrote: > Make S390XCPU 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. This helps making files independent of NEED_CPU_H > if they only need to pass

[Qemu-devel] [PATCH 15/50] target-s390x: make cpu-qom.h not target specific

2016-05-16 Thread Paolo Bonzini
Make S390XCPU 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. This helps making files independent of NEED_CPU_H if they only need to pass around CPU pointers. Signed-off-by: Paolo Bonzini

[Qemu-devel] [PATCH 15/50] target-s390x: make cpu-qom.h not target specific

2016-04-08 Thread Paolo Bonzini
Make S390XCPU 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. This helps making files independent of NEED_CPU_H if they only need to pass around CPU pointers. Signed-off-by: Paolo Bonzini