aboutsummaryrefslogtreecommitdiff
path: root/block/blkdebug.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-09-02 09:25:10 +0200
committerKevin Wolf <kwolf@redhat.com>2013-09-02 10:06:59 +0200
commitafa50193cde574528a130a25544fd6f3aa8da069 (patch)
treee8bb4b00751fe7583d09dd31f3cbc32b4ecaf6dd /block/blkdebug.c
parente23e400ec62a03dea58ddb38479b4f1ef86f556d (diff)
downloadqemu-afa50193cde574528a130a25544fd6f3aa8da069.zip
qemu-afa50193cde574528a130a25544fd6f3aa8da069.tar.gz
qemu-afa50193cde574528a130a25544fd6f3aa8da069.tar.bz2
qcow2-refcount: Repair shared refcount blocks
If the refcount of a refcount block is greater than one, we can at least try to repair that problem by duplicating the affected block. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/blkdebug.c')
-rw-r--r--block/blkdebug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blkdebug.c b/block/blkdebug.c
index ccb627a..5d33e03 100644
--- a/block/blkdebug.c
+++ b/block/blkdebug.c
@@ -168,6 +168,7 @@ static const char *event_names[BLKDBG_EVENT_MAX] = {
[BLKDBG_REFTABLE_LOAD] = "reftable_load",
[BLKDBG_REFTABLE_GROW] = "reftable_grow",
+ [BLKDBG_REFTABLE_UPDATE] = "reftable_update",
[BLKDBG_REFBLOCK_LOAD] = "refblock_load",
[BLKDBG_REFBLOCK_UPDATE] = "refblock_update",