Re: [Qemu-devel] [PATCH v10 0/4] Add subcommand compare for qemu-img

2013-02-13 Thread Miroslav Rezanina
Please ignore this serie. It's resended v10 instead of v11. Sorry for spam. - Original Message - > From: "Miroslav Rezanina" > To: qemu-devel@nongnu.org, qemu-devel@nongnu.org > Cc: kw...@redhat.com, pbonz...@redhat.com, stefa...@redhat.com, > ebl...@redhat.com, "Miroslav Rezanina" > >

Re: [Qemu-devel] [PATCH v10 0/4] Add subcommand compare for qemu-img

2013-02-12 Thread Stefan Hajnoczi
On Tue, Feb 12, 2013 at 08:00:21AM +0100, Miroslav Rezanina wrote: > This is 10th version of patch adding compare subcommand that > compares two images. Compare has following criteria: > - only data part is compared > - unallocated sectors are not read > to be zeroed/unallocated to compare rest

Re: [Qemu-devel] [PATCH v10 0/4] Add subcommand compare for qemu-img

2013-02-12 Thread Kevin Wolf
Am 12.02.2013 08:00, schrieb Miroslav Rezanina: > This is 10th version of patch adding compare subcommand that > compares two images. Compare has following criteria: > - only data part is compared > - unallocated sectors are not read > to be zeroed/unallocated to compare rest > - qemu-img retur

[Qemu-devel] [PATCH v10 0/4] Add subcommand compare for qemu-img

2013-02-11 Thread Miroslav Rezanina
This is 10th version of patch adding compare subcommand that compares two images. Compare has following criteria: - only data part is compared - unallocated sectors are not read to be zeroed/unallocated to compare rest - qemu-img returns: - 0 if images are identical - 1 if images differ