Kevin Wolf
c2bc78b6a9
qcow2: Return real error in qcow2_update_snapshot_refcount
This fixes the error message triggered by the following script:
cat > /tmp/blkdebug.cfg <<EOF
[inject-error]
event = "cluster_free"
errno = "28"
immediately = "off"
EOF
$qemu_img create -f qcow2 test.qcow2 10G
$qemu_img snapshot -c snap test.qcow2
$qemu_img snapshot -d snap blkdebug:/tmp/blkdebug.cfg:test.qcow2
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2013-04-05 18:58:05 +02:00
..
2013-03-22 17:51:31 +01:00
2013-03-22 17:51:31 +01:00
2013-03-15 16:07:49 +01:00
2013-03-15 16:07:49 +01:00
2013-01-17 10:51:11 +01:00
2013-03-22 17:51:31 +01:00
2013-03-22 17:51:31 +01:00
2013-03-22 17:51:32 +01:00
2013-03-22 17:51:31 +01:00
2013-03-22 17:51:31 +01:00
2012-12-19 08:32:39 +01:00
2012-12-19 08:29:06 +01:00
2013-01-25 18:18:35 +01:00
2013-04-02 11:47:37 -04:00
2013-03-15 16:07:49 +01:00
2012-12-19 08:31:31 +01:00
2013-03-28 11:52:44 +01:00
2013-04-05 18:58:05 +02:00
2013-03-15 16:07:50 +01:00
2013-03-28 11:52:44 +01:00
2013-03-28 11:52:44 +01:00
2013-03-22 17:51:31 +01:00
2012-08-10 10:25:12 +02:00
2011-08-20 23:01:08 -05:00
2011-08-20 23:01:08 -05:00
2012-03-12 15:14:06 +01:00
2012-12-19 08:32:39 +01:00
2013-03-22 17:51:31 +01:00
2012-12-19 08:31:31 +01:00
2013-01-15 10:03:47 +01:00
2013-03-22 17:51:31 +01:00
2013-03-25 09:53:04 +01:00
2013-03-15 16:07:49 +01:00
2013-03-25 09:51:43 +01:00
2013-04-02 11:47:37 -04:00
2012-12-19 08:31:31 +01:00
2013-03-15 16:07:49 +01:00
2013-03-22 17:51:31 +01:00
2013-03-15 16:07:49 +01:00
2013-03-22 17:51:31 +01:00
2013-01-18 09:57:51 +01:00