summaryrefslogtreecommitdiffstats
path: root/migration/block.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:16:54 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:29:55 -0600
commitc6d7d99270b20abdf3fd8aaf7e7433248e44dfed (patch)
treedc8912182106951e700cb2e63f03c935047ea47c /migration/block.c
parent82c8ff11cea845607c521268e869acdf950295d4 (diff)
downloadhqemu-c6d7d99270b20abdf3fd8aaf7e7433248e44dfed.zip
hqemu-c6d7d99270b20abdf3fd8aaf7e7433248e44dfed.tar.gz
migration: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1453832250-766-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'migration/block.c')
-rw-r--r--migration/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/block.c b/migration/block.c
index 656f38f..a444058 100644
--- a/migration/block.c
+++ b/migration/block.c
@@ -13,6 +13,7 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
+#include "qemu/osdep.h"
#include "qemu-common.h"
#include "block/block.h"
#include "qemu/error-report.h"
@@ -24,7 +25,6 @@
#include "migration/migration.h"
#include "sysemu/blockdev.h"
#include "sysemu/block-backend.h"
-#include <assert.h>
#define BLOCK_SIZE (1 << 20)
#define BDRV_SECTORS_PER_DIRTY_CHUNK (BLOCK_SIZE >> BDRV_SECTOR_BITS)
OpenPOWER on IntegriCloud