Re: [Qemu-devel] External COW format for raw images

2011-07-26 Thread Stefan Hajnoczi
On Wed, Jul 20, 2011 at 4:57 PM, Marcelo Tosatti wrote: > On Wed, Jul 20, 2011 at 09:35:05AM +0100, Stefan Hajnoczi wrote: >> 2011/7/19 Anthony Liguori : >> > On 07/19/2011 04:25 AM, Robert Wang wrote: >> >> As you known, raw image is very popular,but the raw image format does >> >> NOT support Co

Re: [Qemu-devel] External COW format for raw images

2011-07-20 Thread Marcelo Tosatti
On Wed, Jul 20, 2011 at 09:35:05AM +0100, Stefan Hajnoczi wrote: > 2011/7/19 Anthony Liguori : > > On 07/19/2011 04:25 AM, Robert Wang wrote: > >> As you known, raw image is very popular,but the raw image format does > >> NOT support Copy-On-Write,a raw image file can NOT be used as a copy > >> des

Re: [Qemu-devel] External COW format for raw images

2011-07-20 Thread Stefan Hajnoczi
2011/7/19 Anthony Liguori : > On 07/19/2011 04:25 AM, Robert Wang wrote: >> As you known, raw image is very popular,but the raw image format does >> NOT support Copy-On-Write,a raw image file can NOT be used as a copy >> destination, then image streaming/Live Block Copy will NOT work. >> >> To fix

Re: [Qemu-devel] External COW format for raw images

2011-07-20 Thread Robert Wang
On Tue, 2011-07-19 at 16:39 +0200, Frediano Ziglio wrote: > 2011/7/19 Robert Wang : > > As you known, raw image is very popular,but the raw image format does > > NOT support Copy-On-Write,a raw image file can NOT be used as a copy > > destination, then image streaming/Live Block Copy will NOT work.

Re: [Qemu-devel] External COW format for raw images

2011-07-19 Thread Frediano Ziglio
2011/7/19 Robert Wang : > As you known, raw image is very popular,but the raw image format does > NOT support Copy-On-Write,a raw image file can NOT be used as a copy > destination, then image streaming/Live Block Copy will NOT work. > > To fix this, we need to add a new block driver raw-cow to QEM

Re: [Qemu-devel] External COW format for raw images

2011-07-19 Thread Anthony Liguori
On 07/19/2011 04:25 AM, Robert Wang wrote: > As you known, raw image is very popular,but the raw image format does > NOT support Copy-On-Write,a raw image file can NOT be used as a copy > destination, then image streaming/Live Block Copy will NOT work. > > To fix this, we need to add a new block d

Re: [Qemu-devel] External COW format for raw images

2011-07-19 Thread Kevin Wolf
Am 19.07.2011 11:25, schrieb Robert Wang: > As you known, raw image is very popular,but the raw image format does > NOT support Copy-On-Write,a raw image file can NOT be used as a copy > destination, then image streaming/Live Block Copy will NOT work. > > To fix this, we need to add a new block dr

Re: [Qemu-devel] External COW format for raw images

2011-07-19 Thread Stefan Hajnoczi
2011/7/19 Robert Wang : > 2)      * Create a new file block/raw-cow.c. It will be much more like the > mixture of block/cow.c and block/raw.c. > > So I will change some functions in cow.c and raw.c to none-static, then > raw-cow.c can re-use them. When read operation occurs, determine whether > dir

[Qemu-devel] External COW format for raw images

2011-07-19 Thread Robert Wang
As you known, raw image is very popular,but the raw image format does NOT support Copy-On-Write,a raw image file can NOT be used as a copy destination, then image streaming/Live Block Copy will NOT work. To fix this, we need to add a new block driver raw-cow to QEMU. If finished, we can use qemu-i