aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2015-02-17 14:47:54 +0100
committerKevin Wolf <kwolf@redhat.com>2015-03-09 11:12:00 +0100
commit20a1f9d07125bead22efd1dc208b4d14ae1b2a21 (patch)
tree72fc0fbc83c6108dbe20afb79c2b6b4460988b38 /block/qcow2.h
parenta6dcf097fad2773fdee9ea12f8452dcc259e9ee1 (diff)
qcow2: Remove unused struct QCowCreateState
The only user went away five years ago with commit a9420734 ('qcow2: Simplify image creation'). It's about time to remove it. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/qcow2.h')
-rw-r--r--block/qcow2.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/block/qcow2.h b/block/qcow2.h
index 6e39a1b639..0fee29bb5e 100644
--- a/block/qcow2.h
+++ b/block/qcow2.h
@@ -275,17 +275,6 @@ typedef struct BDRVQcowState {
bool cache_discards;
} BDRVQcowState;
-/* XXX: use std qcow open function ? */
-typedef struct QCowCreateState {
- int cluster_size;
- int cluster_bits;
- uint16_t *refcount_block;
- uint64_t *refcount_table;
- int64_t l1_table_offset;
- int64_t refcount_table_offset;
- int64_t refcount_block_offset;
-} QCowCreateState;
-
struct QCowAIOCB;
typedef struct Qcow2COWRegion {