summaryrefslogtreecommitdiffstats
path: root/migration/qemu-file.h
diff options
context:
space:
mode:
authorMarkus Armbruster2019-08-12 07:23:43 +0200
committerMarkus Armbruster2019-08-16 13:31:52 +0200
commit6a0acfff997c294ad935b9f0b713a62bec68f50b (patch)
treeb4b456ff03d5d1d562b67de31db138ab094b0484 /migration/qemu-file.h
parentInclude hw/irq.h a lot less (diff)
downloadqemu-6a0acfff997c294ad935b9f0b713a62bec68f50b.tar.gz
qemu-6a0acfff997c294ad935b9f0b713a62bec68f50b.tar.xz
qemu-6a0acfff997c294ad935b9f0b713a62bec68f50b.zip
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 13baf896bd..21f3ae4be2 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