aboutsummaryrefslogtreecommitdiff
path: root/migration
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-08-12 07:23:43 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-08-16 13:31:52 +0200
commit6a0acfff997c294ad935b9f0b713a62bec68f50b (patch)
treeb4b456ff03d5d1d562b67de31db138ab094b0484 /migration
parent64552b6be4758d3a774f7787b294543ccebd5358 (diff)
downloadqemu-6a0acfff997c294ad935b9f0b713a62bec68f50b.zip
qemu-6a0acfff997c294ad935b9f0b713a62bec68f50b.tar.gz
qemu-6a0acfff997c294ad935b9f0b713a62bec68f50b.tar.bz2
Clean up inclusion of exec/cpu-common.h
migration/qemu-file.h neglects to include it even though it needs ram_addr_t. Fix that. Drop a few superfluous inclusions elsewhere. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190812052359.30071-14-armbru@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r--migration/migration.h1
-rw-r--r--migration/qemu-file-channel.c1
-rw-r--r--migration/qemu-file.h1
-rw-r--r--migration/vmstate-types.c1
4 files changed, 1 insertions, 3 deletions
diff --git a/migration/migration.h b/migration/migration.h
index 1fdd7b2..26f01d0 100644
--- a/migration/migration.h
+++ b/migration/migration.h
@@ -16,7 +16,6 @@
#include "qapi/qapi-types-migration.h"
#include "qemu/thread.h"
-#include "exec/cpu-common.h"
#include "qemu/coroutine_int.h"
#include "hw/qdev.h"
#include "io/channel.h"
diff --git a/migration/qemu-file-channel.c b/migration/qemu-file-channel.c
index 8e639eb..78ef248 100644
--- a/migration/qemu-file-channel.c
+++ b/migration/qemu-file-channel.c
@@ -24,7 +24,6 @@
#include "qemu/osdep.h"
#include "qemu-file-channel.h"
-#include "exec/cpu-common.h"
#include "qemu-file.h"
#include "io/channel-socket.h"
#include "qemu/iov.h"
diff --git a/migration/qemu-file.h b/migration/qemu-file.h
index 13baf89..21f3ae4 100644
--- a/migration/qemu-file.h
+++ b/migration/qemu-file.h
@@ -26,6 +26,7 @@
#define MIGRATION_QEMU_FILE_H
#include <zlib.h>
+#include "exec/cpu-common.h"
/* Read a chunk of data from a file at the given position. The pos argument
* can be ignored if the file is only be used for streaming. The number of
diff --git a/migration/vmstate-types.c b/migration/vmstate-types.c
index 845f464..bee658a 100644
--- a/migration/vmstate-types.c
+++ b/migration/vmstate-types.c
@@ -11,7 +11,6 @@
*/
#include "qemu/osdep.h"
-#include "exec/cpu-common.h"
#include "qemu-file.h"
#include "migration.h"
#include "migration/vmstate.h"