Re: [Qemu-devel] Question about cow format with hexdump

2014-09-04 Thread shhuiw
Sorry to trouble you all. I found the right way: I should use the -o option when I create cow image files. Then hexdump can give full info. ~> touch testcow # maked up backing_file ahead to get non-0s .mtime ~> qemu-img create -f cow -o backing_file=testcow,size=1M dummy Formatti

Re: [Qemu-devel] Question about cow format with hexdump

2014-09-03 Thread Kevin Wolf
Am 03.09.2014 um 12:59 hat Stefan Hajnoczi geschrieben: > On Wed, Sep 03, 2014 at 01:27:00PM +0800, shhuiw wrote: > > I'm reading the source code of cow.c: > > https://github.com/qemu/qemu/blob/master/block/cow.c > > and try to understand the format better. > > The 'cow' format is an old format t

Re: [Qemu-devel] Question about cow format with hexdump

2014-09-03 Thread Stefan Hajnoczi
On Wed, Sep 03, 2014 at 01:27:00PM +0800, shhuiw wrote: > I'm reading the source code of cow.c: > https://github.com/qemu/qemu/blob/master/block/cow.c > and try to understand the format better. The 'cow' format is an old format that is rarely used. It's not a good example. qcow2 is actively dev