Commit b7ea8c26362893df85465f0be363c1de1f8a003f

Authored by aliguori
1 parent ebf53fcd

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
Showing 2 changed files with 0 additions and 2 deletions
block-qcow2.c
@@ -1645,7 +1645,6 @@ static int qcow_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) @@ -1645,7 +1645,6 @@ static int qcow_get_info(BlockDriverState *bs, BlockDriverInfo *bdi)
1645 bdi->cluster_size = s->cluster_size; 1645 bdi->cluster_size = s->cluster_size;
1646 bdi->vm_state_offset = (int64_t)s->l1_vm_state_index << 1646 bdi->vm_state_offset = (int64_t)s->l1_vm_state_index <<
1647 (s->cluster_bits + s->l2_bits); 1647 (s->cluster_bits + s->l2_bits);
1648 - bdi->highest_alloc = s->highest_alloc << s->cluster_bits;  
1649 return 0; 1648 return 0;
1650 } 1649 }
1651 1650
@@ -26,7 +26,6 @@ typedef struct BlockDriverInfo { @@ -26,7 +26,6 @@ typedef struct BlockDriverInfo {
26 int cluster_size; 26 int cluster_size;
27 /* offset at which the VM state can be saved (0 if not possible) */ 27 /* offset at which the VM state can be saved (0 if not possible) */
28 int64_t vm_state_offset; 28 int64_t vm_state_offset;
29 - int64_t highest_alloc; /* highest allocated block offset (in bytes) */  
30 } BlockDriverInfo; 29 } BlockDriverInfo;
31 30
32 typedef struct QEMUSnapshotInfo { 31 typedef struct QEMUSnapshotInfo {