Re: [Qemu-devel] [PATCH 2/2] block: add-cow support snapshot_blkdev

2012-03-08 Thread Stefan Hajnoczi
On Thu, Mar 8, 2012 at 1:50 AM, Dong Xu Wang wrote: > image file will be created automaticly, file name is formated as: > sprintf(image_file, "%s.raw", snapshot_file); > > I just add ".raw" to the file name of #1 in you comments as file name of #2. Oops, I looked at the if (strcmp()) case instead

Re: [Qemu-devel] [PATCH 2/2] block: add-cow support snapshot_blkdev

2012-03-07 Thread Dong Xu Wang
image file will be created automaticly, file name is formated as: sprintf(image_file, "%s.raw", snapshot_file); I just add ".raw" to the file name of #1 in you comments as file name of #2. On Wed, Mar 7, 2012 at 21:10, Stefan Hajnoczi wrote: > On Thu, Mar 1, 2012 at 2:49 AM, Dong Xu Wang > wro

Re: [Qemu-devel] [PATCH 2/2] block: add-cow support snapshot_blkdev

2012-03-07 Thread Stefan Hajnoczi
On Thu, Mar 1, 2012 at 2:49 AM, Dong Xu Wang wrote: > From: Dong Xu Wang > > We can not use raw to support snapshot_file, but add-cow can do this. > > CC: Marcelo Tosatti > CC: Kevin Wolf > CC: Stefan Hajnoczi > Signed-off-by: Dong Xu Wang > --- >  blockdev.c              |   53 +

[Qemu-devel] [PATCH 2/2] block: add-cow support snapshot_blkdev

2012-02-29 Thread Dong Xu Wang
From: Dong Xu Wang We can not use raw to support snapshot_file, but add-cow can do this. CC: Marcelo Tosatti CC: Kevin Wolf CC: Stefan Hajnoczi Signed-off-by: Dong Xu Wang --- blockdev.c | 53 ++ docs/live-block-ops.txt |8 +