Searched hist:"058 f8f16db0c1c528b665a6283457f019c8b0926" (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 039.out | diff 058f8f16db0c1c528b665a6283457f019c8b0926 Thu Aug 09 07:05:56 CDT 2012 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> 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>
|
/openbmc/qemu/block/ |
H A D | qed.c | diff 058f8f16db0c1c528b665a6283457f019c8b0926 Thu Aug 09 07:05:56 CDT 2012 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> 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>
|
H A D | qcow2.c | diff 058f8f16db0c1c528b665a6283457f019c8b0926 Thu Aug 09 07:05:56 CDT 2012 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> 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>
|
/openbmc/qemu/ |
H A D | qemu-img.c | diff 058f8f16db0c1c528b665a6283457f019c8b0926 Thu Aug 09 07:05:56 CDT 2012 Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> 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>
|