diff options
author | Max Reitz <mreitz@redhat.com> | 2014-09-05 16:07:16 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-22 11:39:27 +0100 |
commit | 85186ebdac7e183242deaa55d5049988de832be1 (patch) | |
tree | 23fc78b5b587e4a6aa209256c1feb2a33d5a7549 /block/qcow2-refcount.c | |
parent | 9bf040b962f90aa2e1cef6543dfee6c96f73ef7e (diff) |
qcow2: Add qcow2_signal_corruption()
Add a helper function for easily marking an image corrupt (on fatal
corruptions) while outputting an informative message to stderr and via
QAPI.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Message-id: 1409926039-29044-3-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/qcow2-refcount.c')
0 files changed, 0 insertions, 0 deletions