aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--block-qcow2.c1
-rw-r--r--block.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/block-qcow2.c b/block-qcow2.c
index 5a68ed9f67..0a1ddeb6e2 100644
--- a/block-qcow2.c
+++ b/block-qcow2.c
@@ -1645,7 +1645,6 @@ static int qcow_get_info(BlockDriverState *bs, BlockDriverInfo *bdi)
bdi->cluster_size = s->cluster_size;
bdi->vm_state_offset = (int64_t)s->l1_vm_state_index <<
(s->cluster_bits + s->l2_bits);
- bdi->highest_alloc = s->highest_alloc << s->cluster_bits;
return 0;
}
diff --git a/block.h b/block.h
index 7812b77479..f6b14ee8ea 100644
--- a/block.h
+++ b/block.h
@@ -26,7 +26,6 @@ typedef struct BlockDriverInfo {
int cluster_size;
/* offset at which the VM state can be saved (0 if not possible) */
int64_t vm_state_offset;
- int64_t highest_alloc; /* highest allocated block offset (in bytes) */
} BlockDriverInfo;
typedef struct QEMUSnapshotInfo {