aboutsummaryrefslogtreecommitdiff
path: root/migration/qemu-file.h
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/qemu-file.h
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/qemu-file.h')
-rw-r--r--migration/qemu-file.h1
1 files changed, 1 insertions, 0 deletions
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