Re: [Qemu-devel] [PATCH V17 5/6] add-cow file format core code.

2012-12-11 Thread Kevin Wolf
Am 11.12.2012 09:11, schrieb Dong Xu Wang: >>> index bf5c57c..1a30462 100644 >>> --- a/block/block-cache.c >>> +++ b/block/block-cache.c >>> @@ -112,6 +112,8 @@ static int block_cache_entry_flush(BlockDriverState >>> *bs, BlockCache *c, int i) >>> BLKDBG_EVENT(bs->file, BLKDBG_REFBLOCK_UP

Re: [Qemu-devel] [PATCH V17 5/6] add-cow file format core code.

2012-12-11 Thread Dong Xu Wang
On Tue, Dec 11, 2012 at 1:54 AM, Kevin Wolf wrote: > Am 06.12.2012 07:51, schrieb Dong Xu Wang: >> add-cow file format core code. It use block-cache.c as cache code. >> It lacks of snapshot_blkdev support. >> >> v16->v17: >> 1) Use stringify. >> >> v15->v16: >> 1) Judge if opts is null in add_cow_

Re: [Qemu-devel] [PATCH V17 5/6] add-cow file format core code.

2012-12-10 Thread Kevin Wolf
Am 06.12.2012 07:51, schrieb Dong Xu Wang: > add-cow file format core code. It use block-cache.c as cache code. > It lacks of snapshot_blkdev support. > > v16->v17: > 1) Use stringify. > > v15->v16: > 1) Judge if opts is null in add_cow_create function. > > Signed-off-by: Dong Xu Wang > --- >

[Qemu-devel] [PATCH V17 5/6] add-cow file format core code.

2012-12-05 Thread Dong Xu Wang
add-cow file format core code. It use block-cache.c as cache code. It lacks of snapshot_blkdev support. v16->v17: 1) Use stringify. v15->v16: 1) Judge if opts is null in add_cow_create function. Signed-off-by: Dong Xu Wang --- block/Makefile.objs |1 + block/add-cow.c | 690 ++