[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: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v11 3/4] qemu-img: Add compare subcommand |
Date: |
Wed, 13 Feb 2013 06:39:59 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
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.
> +execution and standard error output should contain an error message.
> +Following table sumarize all exit codes of compare subcommand:
s/sumarize/summarizes/
> +
> 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
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v11 0/4] Add subcommand compare for qemu-img, Miroslav Rezanina, 2013/02/13
- [Qemu-devel] [PATCH v11 1/4] block: Add synchronous wrapper for bdrv_co_is_allocated_above, Miroslav Rezanina, 2013/02/13
- [Qemu-devel] [PATCH v11 3/4] qemu-img: Add compare subcommand, Miroslav Rezanina, 2013/02/13
- Re: [Qemu-devel] [PATCH v11 3/4] qemu-img: Add compare subcommand,
Eric Blake <=
- [Qemu-devel] [PATCH v11 4/4] qemu-iotests: Add qemu-img compare test, Miroslav Rezanina, 2013/02/13
- [Qemu-devel] [PATCH v11 2/4] qemu-img: Add "Quiet mode" option, Miroslav Rezanina, 2013/02/13
- Re: [Qemu-devel] [PATCH v11 0/4] Add subcommand compare for qemu-img, Kevin Wolf, 2013/02/13
- Re: [Qemu-devel] [PATCH v11 0/4] Add subcommand compare for qemu-img, Stefan Hajnoczi, 2013/02/14