From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhUqe-0001l2-M2 for qemu-devel@nongnu.org; Wed, 11 Mar 2009 16:16:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhUqe-0001kb-0F for qemu-devel@nongnu.org; Wed, 11 Mar 2009 16:16:16 -0400 Received: from [199.232.76.173] (port=34716 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhUqd-0001kT-Qe for qemu-devel@nongnu.org; Wed, 11 Mar 2009 16:16:15 -0400 Received: from savannah.gnu.org ([199.232.41.3]:47067 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhUqd-0000n3-E3 for qemu-devel@nongnu.org; Wed, 11 Mar 2009 16:16:15 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LhUqb-0005lg-T6 for qemu-devel@nongnu.org; Wed, 11 Mar 2009 20:16:14 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LhUqb-0005lX-CB for qemu-devel@nongnu.org; Wed, 11 Mar 2009 20:16:13 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Wed, 11 Mar 2009 20:16:13 +0000 Subject: [Qemu-devel] [6820] Revert r6405 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 6820 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6820 Author: aliguori Date: 2009-03-11 20:16:12 +0000 (Wed, 11 Mar 2009) Log Message: ----------- 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 Modified Paths: -------------- branches/stable_0_10_0/block-qcow2.c branches/stable_0_10_0/block.h Modified: branches/stable_0_10_0/block-qcow2.c =================================================================== --- branches/stable_0_10_0/block-qcow2.c 2009-03-11 20:16:05 UTC (rev 6819) +++ branches/stable_0_10_0/block-qcow2.c 2009-03-11 20:16:12 UTC (rev 6820) @@ -1645,7 +1645,6 @@ 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; } Modified: branches/stable_0_10_0/block.h =================================================================== --- branches/stable_0_10_0/block.h 2009-03-11 20:16:05 UTC (rev 6819) +++ branches/stable_0_10_0/block.h 2009-03-11 20:16:12 UTC (rev 6820) @@ -26,7 +26,6 @@ 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 {