]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/qdev-core.h
migration: Move the VMStateDescription typedef to typedefs.h
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:44 +0000 (07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:31:52 +0000 (13:31 +0200)
commit8a9358cc6e6a6ba3685e1b6e8bbf6fa194a38379
tree62d5d8cbe5f511b98802f054ec530c8cef614cf4
parent6a0acfff997c294ad935b9f0b713a62bec68f50b
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>
16 files changed:
include/hw/qdev-core.h
include/migration/vmstate.h
include/qemu/typedefs.h
include/qom/cpu.h
target/alpha/cpu.h
target/arm/cpu.h
target/cris/cpu.h
target/hppa/cpu.h
target/i386/cpu.h
target/lm32/cpu.h
target/mips/internal.h
target/openrisc/cpu.h
target/ppc/cpu-qom.h
target/ppc/cpu.h
target/s390x/cpu.h
target/sparc/cpu.h