diff options
| author | Markus Armbruster | 2019-08-12 07:23:44 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2019-08-16 13:31:52 +0200 |
| commit | 8a9358cc6e6a6ba3685e1b6e8bbf6fa194a38379 (patch) | |
| tree | 62d5d8cbe5f511b98802f054ec530c8cef614cf4 /include/migration | |
| parent | Clean up inclusion of exec/cpu-common.h (diff) | |
| download | qemu-8a9358cc6e6a6ba3685e1b6e8bbf6fa194a38379.tar.gz qemu-8a9358cc6e6a6ba3685e1b6e8bbf6fa194a38379.tar.xz qemu-8a9358cc6e6a6ba3685e1b6e8bbf6fa194a38379.zip | |
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>
Diffstat (limited to 'include/migration')
| -rw-r--r-- | include/migration/vmstate.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h index c2bfa7a7f0..1fbfd099dd 100644 --- a/include/migration/vmstate.h +++ b/include/migration/vmstate.h @@ -28,7 +28,6 @@ #define QEMU_VMSTATE_H typedef struct VMStateInfo VMStateInfo; -typedef struct VMStateDescription VMStateDescription; typedef struct VMStateField VMStateField; /* VMStateInfo allows customized migration of objects that don't fit in |
