Re: [Qemu-devel] [PATCH] qemu-img rebase: Fix for undersized backing files

2011-12-07 Thread Kevin Wolf
Am 07.12.2011 13:06, schrieb Stefan Hajnoczi: > On Wed, Dec 7, 2011 at 12:02 PM, Kevin Wolf wrote: >> Am 07.12.2011 12:50, schrieb Stefan Hajnoczi: >>> On Wed, Dec 7, 2011 at 11:45 AM, Kevin Wolf wrote: Backing files may be smaller than the corresponding COW file. When reading directly

Re: [Qemu-devel] [PATCH] qemu-img rebase: Fix for undersized backing files

2011-12-07 Thread Stefan Hajnoczi
On Wed, Dec 7, 2011 at 12:02 PM, Kevin Wolf wrote: > Am 07.12.2011 12:50, schrieb Stefan Hajnoczi: >> On Wed, Dec 7, 2011 at 11:45 AM, Kevin Wolf wrote: >>> Backing files may be smaller than the corresponding COW file. When >>> reading directly from the backing file, qemu-img rebase must consider

Re: [Qemu-devel] [PATCH] qemu-img rebase: Fix for undersized backing files

2011-12-07 Thread Kevin Wolf
Am 07.12.2011 12:50, schrieb Stefan Hajnoczi: > On Wed, Dec 7, 2011 at 11:45 AM, Kevin Wolf wrote: >> Backing files may be smaller than the corresponding COW file. When >> reading directly from the backing file, qemu-img rebase must consider >> this and assume zero sectors after the end of backing

Re: [Qemu-devel] [PATCH] qemu-img rebase: Fix for undersized backing files

2011-12-07 Thread Stefan Hajnoczi
On Wed, Dec 7, 2011 at 11:45 AM, Kevin Wolf wrote: > Backing files may be smaller than the corresponding COW file. When > reading directly from the backing file, qemu-img rebase must consider > this and assume zero sectors after the end of backing files. > > Signed-off-by: Kevin Wolf > --- >  qem

[Qemu-devel] [PATCH] qemu-img rebase: Fix for undersized backing files

2011-12-07 Thread Kevin Wolf
Backing files may be smaller than the corresponding COW file. When reading directly from the backing file, qemu-img rebase must consider this and assume zero sectors after the end of backing files. Signed-off-by: Kevin Wolf --- qemu-img.c | 42 +- 1 file