Re: [Qemu-devel] [PATCH 14/28] migration: Move the VMStateDescription typedef to typedefs.h

2019-08-02 Thread Paolo Bonzini
On 26/07/19 14:05, Markus Armbruster wrote: > typedef struct VMStateInfo VMStateInfo; > -typedef struct VMStateDescription VMStateDescription; > typedef struct VMStateField VMStateField; This certainly qualifies for typedefs.h. Paolo

Re: [Qemu-devel] [PATCH 14/28] migration: Move the VMStateDescription typedef to typedefs.h

2019-07-26 Thread Philippe Mathieu-Daudé
On 7/26/19 2:05 PM, Markus Armbruster wrote: > We declare incomplete struct VMStateDescription in a couple of places > so we don't have to include migration/vmstate.h for the typedef. > That's fine with me. However, the next commit will drop > migration/vmstate.h from a massive number of

[Qemu-devel] [PATCH 14/28] migration: Move the VMStateDescription typedef to typedefs.h

2019-07-26 Thread Markus Armbruster
We declare incomplete struct VMStateDescription in a couple of places so we don't have to include migration/vmstate.h for the typedef. That's fine with me. However, the next commit will drop migration/vmstate.h from a massive number of compiles. Move the typedef to qemu/typedefs.h now, so I