migration: Move the VMStateDescription typedef to typedefs.h
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 don't have to insert struct in front of VMStateDescription all over the place then. Signed-off-by:Markus Armbruster <armbru@redhat.com> Reviewed-by:
Alex Bennée <alex.bennee@linaro.org> Reviewed-by:
Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by:
Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190812052359.30071-15-armbru@redhat.com>
Showing
- include/hw/qdev-core.h 2 additions, 4 deletionsinclude/hw/qdev-core.h
- include/migration/vmstate.h 0 additions, 1 deletioninclude/migration/vmstate.h
- include/qemu/typedefs.h 1 addition, 0 deletionsinclude/qemu/typedefs.h
- include/qom/cpu.h 2 additions, 2 deletionsinclude/qom/cpu.h
- target/alpha/cpu.h 1 addition, 1 deletiontarget/alpha/cpu.h
- target/arm/cpu.h 1 addition, 1 deletiontarget/arm/cpu.h
- target/cris/cpu.h 1 addition, 1 deletiontarget/cris/cpu.h
- target/hppa/cpu.h 1 addition, 1 deletiontarget/hppa/cpu.h
- target/i386/cpu.h 1 addition, 1 deletiontarget/i386/cpu.h
- target/lm32/cpu.h 1 addition, 1 deletiontarget/lm32/cpu.h
- target/mips/internal.h 1 addition, 1 deletiontarget/mips/internal.h
- target/openrisc/cpu.h 1 addition, 1 deletiontarget/openrisc/cpu.h
- target/ppc/cpu-qom.h 1 addition, 1 deletiontarget/ppc/cpu-qom.h
- target/ppc/cpu.h 1 addition, 1 deletiontarget/ppc/cpu.h
- target/s390x/cpu.h 1 addition, 1 deletiontarget/s390x/cpu.h
- target/sparc/cpu.h 1 addition, 1 deletiontarget/sparc/cpu.h
Loading
Please register or sign in to comment