summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-11 20:16:12 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-11 20:16:12 +0000
commit523faf1b924a89b412aa9a87d7ed0b34a1259428 (patch)
treee50d9a47a11d93073d31d8971c8c5e5cd3ba6504
parent414c078104b62170353b6ffe0ab8f01374bcc073 (diff)
downloadqemu-523faf1b924a89b412aa9a87d7ed0b34a1259428.tar.gz
Revert r6405
This series is broken by design as it requires expensive IO operations at open time causing very long delays when starting a virtual machine for the first time. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/branches/stable_0_10_0@6820 c046a42c-6fe2-441c-8c8c-71466251a162
-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 85e9cd78a3..7cfa62b89a 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 fbce8a2c0c..702403f6c3 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 {