aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-03-08 12:44:54 +0800
committerMax Reitz <mreitz@redhat.com>2016-03-14 17:35:05 +0100
commit9a3f5cf1bfd2b1e11a496bdaf038cc7d825e01df (patch)
tree18d678cf71fc43d08c93832130c68496f3a562f2 /include
parent78f9dc859d2db4c3bad382e09e0935bf959d07a6 (diff)
downloadqemu-9a3f5cf1bfd2b1e11a496bdaf038cc7d825e01df.zip
qemu-9a3f5cf1bfd2b1e11a496bdaf038cc7d825e01df.tar.gz
qemu-9a3f5cf1bfd2b1e11a496bdaf038cc7d825e01df.tar.bz2
typedefs: Add BdrvDirtyBitmap
Following patches to refactor and move block dirty bitmap code could use this. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 1457412306-18940-4-git-send-email-famz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/block.h1
-rw-r--r--include/qemu/typedefs.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block.h b/include/block/block.h
index 66c55ea..a403176 100644
--- a/include/block/block.h
+++ b/include/block/block.h
@@ -475,7 +475,6 @@ void *qemu_try_blockalign(BlockDriverState *bs, size_t size);
void *qemu_try_blockalign0(BlockDriverState *bs, size_t size);
bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov);
-typedef struct BdrvDirtyBitmap BdrvDirtyBitmap;
BdrvDirtyBitmap *bdrv_create_dirty_bitmap(BlockDriverState *bs,
uint32_t granularity,
const char *name,
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h
index 9a5ead6..fd039e0 100644
--- a/include/qemu/typedefs.h
+++ b/include/qemu/typedefs.h
@@ -10,6 +10,7 @@ typedef struct AddressSpace AddressSpace;
typedef struct AioContext AioContext;
typedef struct AllwinnerAHCIState AllwinnerAHCIState;
typedef struct AudioState AudioState;
+typedef struct BdrvDirtyBitmap BdrvDirtyBitmap;
typedef struct BlockBackend BlockBackend;
typedef struct BlockBackendRootState BlockBackendRootState;
typedef struct BlockDriverState BlockDriverState;