aboutsummaryrefslogtreecommitdiff
path: root/block-qcow2.c
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-11 20:05:33 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-11 20:05:33 +0000
commitb7ea8c26362893df85465f0be363c1de1f8a003f (patch)
tree7ecdb39d1a86632492bdb9ef6d31ff2b14cf5ea0 /block-qcow2.c
parentebf53fcdaeabd51b0fa66d65366c188dd974d4da (diff)
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/trunk@6815 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block-qcow2.c')
-rw-r--r--block-qcow2.c1
1 files changed, 0 insertions, 1 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;
}