qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] qemu-img convert: ignore read errors
@ 2019-04-09 14:56 Andrey Shinkevich
  2019-04-09 14:56 ` Andrey Shinkevich
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Andrey Shinkevich @ 2019-04-09 14:56 UTC (permalink / raw)
  To: qemu-devel, qemu-block; +Cc: kwolf, mreitz, den, vsementsov, andrey.shinkevich

The 'qemu-img convert' new command option 'force read' with the key '-R'
allows converting a damaged image to get all the available information
in case of the read errors. The program reports read errors and continue
the image conversion. The users should keep in their minds that the
resulting image is inconsistent.

Andrey Shinkevich (2):
  qemu-img convert: ignore read errors
  iotests: new test 253 check qemu-img convert force read

 qemu-img-cmds.hx           |  4 +--
 qemu-img.c                 | 18 ++++++++++--
 qemu-img.texi              |  2 +-
 tests/qemu-iotests/253     | 69 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/253.out |  4 +++
 tests/qemu-iotests/group   |  1 +
 6 files changed, 93 insertions(+), 5 deletions(-)
 create mode 100755 tests/qemu-iotests/253
 create mode 100644 tests/qemu-iotests/253.out

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-04-10 15:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-09 14:56 [Qemu-devel] [PATCH 0/2] qemu-img convert: ignore read errors Andrey Shinkevich
2019-04-09 14:56 ` Andrey Shinkevich
2019-04-09 14:56 ` [Qemu-devel] [PATCH 1/2] " Andrey Shinkevich
2019-04-09 14:56   ` Andrey Shinkevich
2019-04-10  8:58   ` Vladimir Sementsov-Ogievskiy
2019-04-10  8:58     ` Vladimir Sementsov-Ogievskiy
2019-04-09 14:56 ` [Qemu-devel] [PATCH 2/2] iotests: new test 253 check qemu-img convert force read Andrey Shinkevich
2019-04-09 14:56   ` Andrey Shinkevich
2019-04-10  8:59   ` Vladimir Sementsov-Ogievskiy
2019-04-10  8:59     ` Vladimir Sementsov-Ogievskiy
2019-04-10 15:26 ` [Qemu-devel] [PATCH 0/2] qemu-img convert: ignore read errors Max Reitz
2019-04-10 15:26   ` Max Reitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).