Re: [Qemu-devel] [PATCH v4 2/3] qcow2: Use QcowCache

2011-02-09 Thread Avi Kivity
On 02/09/2011 01:19 PM, Avi Kivity wrote: On 01/20/2011 07:10 PM, Kevin Wolf wrote: Use the new functions of qcow2-cache.c for everything that works on refcount block and L2 tables. While autotesting qemu-kvm's stable-0.14 branch, this commit causes failures. The scenario is: - install O

Re: [Qemu-devel] [PATCH v4 2/3] qcow2: Use QcowCache

2011-02-09 Thread Avi Kivity
On 01/20/2011 07:10 PM, Kevin Wolf wrote: Use the new functions of qcow2-cache.c for everything that works on refcount block and L2 tables. While autotesting qemu-kvm's stable-0.14 branch, this commit causes failures. The scenario is: - install OS - reboot - hang at GRUB prompt - qemu-img

Re: [Qemu-devel] [PATCH v4 2/3] qcow2: Use QcowCache

2011-01-24 Thread Stefan Hajnoczi
On Mon, Jan 24, 2011 at 3:36 PM, Kevin Wolf wrote: > Am 24.01.2011 16:26, schrieb Stefan Hajnoczi: >> On Mon, Jan 24, 2011 at 2:54 PM, Kevin Wolf wrote: >>> [ Re-adding qemu-devel to CC ] >>> >>> Am 24.01.2011 15:34, schrieb Stefan Hajnoczi: On Thu, Jan 20, 2011 at 5:10 PM, Kevin Wolf wrote

Re: [Qemu-devel] [PATCH v4 2/3] qcow2: Use QcowCache

2011-01-24 Thread Kevin Wolf
Am 24.01.2011 16:26, schrieb Stefan Hajnoczi: > On Mon, Jan 24, 2011 at 2:54 PM, Kevin Wolf wrote: >> [ Re-adding qemu-devel to CC ] >> >> Am 24.01.2011 15:34, schrieb Stefan Hajnoczi: >>> On Thu, Jan 20, 2011 at 5:10 PM, Kevin Wolf wrote: @@ -702,17 +622,30 @@ int qcow2_alloc_cluster_link_l

Re: [Qemu-devel] [PATCH v4 2/3] qcow2: Use QcowCache

2011-01-24 Thread Stefan Hajnoczi
On Mon, Jan 24, 2011 at 2:54 PM, Kevin Wolf wrote: > [ Re-adding qemu-devel to CC ] > > Am 24.01.2011 15:34, schrieb Stefan Hajnoczi: >> On Thu, Jan 20, 2011 at 5:10 PM, Kevin Wolf wrote: >>> @@ -702,17 +622,30 @@ int qcow2_alloc_cluster_link_l2(BlockDriverState *bs, >>> QCowL2Meta *m) >>> >>>  

Re: [Qemu-devel] [PATCH v4 2/3] qcow2: Use QcowCache

2011-01-24 Thread Kevin Wolf
[ Re-adding qemu-devel to CC ] Am 24.01.2011 15:34, schrieb Stefan Hajnoczi: > On Thu, Jan 20, 2011 at 5:10 PM, Kevin Wolf wrote: >> @@ -702,17 +622,30 @@ int qcow2_alloc_cluster_link_l2(BlockDriverState *bs, >> QCowL2Meta *m) >> >> if (m->nb_available & (s->cluster_sectors - 1)) { >>

[Qemu-devel] [PATCH v4 2/3] qcow2: Use QcowCache

2011-01-20 Thread Kevin Wolf
Use the new functions of qcow2-cache.c for everything that works on refcount block and L2 tables. Signed-off-by: Kevin Wolf --- block/qcow2-cache.c| 10 ++ block/qcow2-cluster.c | 207 +- block/qcow2-refcount.c | 258 --