qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v11 3/4] qemu-img: Add compare subcommand


From: Miroslav Rezanina
Subject: Re: [Qemu-devel] [PATCH v11 3/4] qemu-img: Add compare subcommand
Date: Wed, 13 Feb 2013 09:17:07 -0500 (EST)


----- Original Message -----
> From: "Eric Blake" <address@hidden>
> To: "Miroslav Rezanina" <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden, address@hidden
> Sent: Wednesday, February 13, 2013 2:39:59 PM
> Subject: Re: [PATCH v11 3/4] qemu-img: Add compare subcommand
> 
> On 02/13/2013 01:09 AM, Miroslav Rezanina wrote:
> > This patch adds new qemu-img subcommand that compares content of
> > two disk
> > images.
> > 
> > Signed-off-by: Miroslav Rezanina <address@hidden>
> > ---
> 
> > +Compare exits with @code{0} in case the images are equal and with
> > @code{1}
> > +in case the images differ. Negative exit code means an error
> > occurred during
> 
> There's no such thing as a negative exit code.

Aaa, I forget to fix this. 

@stefanha: Can you please replace the work Negative with Others when applying.

> 
> > +execution and standard error output should contain an error
> > message.
> > +Following table sumarize all exit codes of compare subcommand:
> 
> s/sumarize/summarizes/
> 

@stefanha: Fix this typo too, thanks.

> > +
> > address@hidden @option
> > +
> > address@hidden 0
> > +Images are identical
> > address@hidden 1
> > +Images differ
> > address@hidden 2
> > +Error on opening an image
> > address@hidden 3
> > +Error on checking a sector allocation
> > address@hidden 4
> > +Error on reading data
> > +
> > address@hidden table
> 
> --
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
> 
> 

Thanks a lot, Eric.

-- 
Miroslav Rezanina
Software Engineer - Virtualization Team




reply via email to

[Prev in Thread] Current Thread [Next in Thread]