Stefan Hajnoczi 058f8f16db block: add BLOCK_O_CHECK for qemu-img check
Image formats with a dirty bit, like qed and qcow2, repair dirty image
files upon open with BDRV_O_RDWR.  Performing automatic repair when
qemu-img check runs is not ideal because the bdrv_open() call repairs
the image before the actual bdrv_check() call from qemu-img.c.

Fix this "double repair" since it leads to confusing output from
qemu-img check.  Tell the block driver that this image is being opened
just for bdrv_check().  This skips automatic repair and qemu-img.c can
invoke it manually with bdrv_check().

Update the golden output for qemu-iotests 039 to reflect the new
qemu-img check output.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-08-10 10:25:12 +02:00
2012-06-21 20:04:24 +00:00
2012-06-18 15:32:45 +02:00
2012-08-09 18:34:57 +00:00
2012-07-23 11:55:17 +01:00
2012-08-09 18:34:57 +00:00
2012-08-06 19:31:55 -05:00
2012-07-10 18:27:33 +02:00
2012-07-07 09:04:42 +00:00
2012-04-19 16:51:47 +02:00
2012-08-04 15:51:23 +00:00
2012-08-06 22:39:14 +02:00
2012-05-14 07:27:24 +02:00
2012-06-29 13:31:07 +02:00
2012-08-02 18:12:17 +02:00
2012-03-30 08:14:11 -05:00
2012-05-12 09:14:38 +00:00
2012-07-26 17:44:08 +02:00
2012-04-01 20:30:23 +02:00
2012-07-28 09:23:11 +00:00
2012-07-23 11:55:17 +01:00
2012-07-23 11:55:17 +01:00
2012-06-25 15:37:15 +02:00
2012-08-03 14:25:22 +01:00
2012-07-27 21:13:04 +00:00
2012-08-03 10:10:55 -03:00
2012-07-13 13:46:55 -03:00
2012-05-08 14:30:09 -03:00
2012-03-19 15:17:21 +02:00
2012-05-10 08:33:34 -05:00
2012-06-29 13:27:28 +02:00
2012-07-19 11:34:32 +01:00
2012-08-03 18:28:37 -05:00
2012-07-10 18:27:33 +02:00
2012-04-07 14:00:45 +00:00
2012-07-14 11:53:03 +00:00
2012-07-14 11:53:03 +00:00
2012-04-15 21:25:16 +02:00
2012-04-07 14:00:45 +00:00
2012-06-21 18:45:18 +00:00
2012-05-08 14:30:09 -03:00
2012-04-24 09:50:31 -05:00
2012-06-22 10:34:21 +01:00
2012-08-09 18:34:57 +00:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%