summary refs log tree commit diff stats
path: root/hw/spapr_pci.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-04-05 12:51:31 +0200
committerKevin Wolf <kwolf@redhat.com>2013-04-05 18:58:05 +0200
commitc2bc78b6a975ea2dcd7eee9f0dce22cc060cdcdc (patch)
treea10866bea88e6ff9f393c4364cb09ad2598c2e84 /hw/spapr_pci.c
parent0775437fafc5c733564645a22f75490770bf41f7 (diff)
downloadfocaccia-qemu-c2bc78b6a975ea2dcd7eee9f0dce22cc060cdcdc.tar.gz
focaccia-qemu-c2bc78b6a975ea2dcd7eee9f0dce22cc060cdcdc.zip
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>
Diffstat (limited to 'hw/spapr_pci.c')
0 files changed, 0 insertions, 0 deletions