qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/5] Add qemu-img check subcommand


From: Gleb Natapov
Subject: Re: [Qemu-devel] [PATCH 0/5] Add qemu-img check subcommand
Date: Mon, 20 Apr 2009 13:30:30 +0300

On Fri, Apr 17, 2009 at 02:04:34PM +0200, Kevin Wolf wrote:
> Current qcow2 code already includes some functions to do some consistency
> checks (e.g. compare refcounts to real usage). Allowing the user (or developer
> debugging qcow2 code) to check his images only involves actually building this
> code and exposing it to the user by qemu-img.
> 
> This patch series implements a check subcommand for qemu-img. I think it will
> be useful especially in combination with qemu-io for test suites.
> 
Qumranet's product had this functionality and I found it to be so useful
that I still have qemu-img binary that has this "check" verb. For
instance if windows starts to BSOD to often the first thing I do is to
check that image is not corrupted.

> Kevin
> 
> Kevin Wolf (5):
>   qcow2: Fix warnings in check_refcount()
>   Introduce bdrv_check
>   Introduce qemu-img check subcommand
>   qcow2: Refcount checking code cleanup
>   qcow2: Add plausibility check for L1/L2 entries
> 
>  block-qcow2.c |  239 +++++++++++++++++++++++++++++++++++++++++---------------
>  block.c       |   14 ++++
>  block.h       |    1 +
>  block_int.h   |    3 +
>  qemu-img.c    |   62 +++++++++++++++
>  5 files changed, 255 insertions(+), 64 deletions(-)
> 
> 

--
                        Gleb.




reply via email to

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