Add qemu-img check subcommand
Status from this message: Applied. Thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | qcow2: Fix warnings in check_refcount() | +0 | 0 replies | |
| 1/5 | qcow2: Fix warnings in check_refcount()block-qcow2.c | +13 | 12 replies | |
| 2/5 | Introduce bdrv_checkblock-qcow2.c block.c block.h +1 more | +70 | 0 replies | |
| 3/5 | Introduce qemu-img check subcommandqemu-img.c | +62 | 0 replies | |
| 4/5 | qcow2: Refcount checking code cleanupblock-qcow2.c | +105 | 1 reply | |
| 5/5 | qcow2: Add plausibility check for L1/L2 entriesblock-qcow2.c | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/5] Add qemu-img check subcommand
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.
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(-)