summary refs log tree commit diff stats
path: root/hw/core/null-machine.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-08-30 14:34:28 +0200
committerKevin Wolf <kwolf@redhat.com>2013-08-30 15:48:44 +0200
commite23e400ec62a03dea58ddb38479b4f1ef86f556d (patch)
tree12e25c97798da30fcf8b0dea9760b2e71a32b2a0 /hw/core/null-machine.c
parent4f6ed88c03c4026e31ce152ea760a0da839f0dda (diff)
downloadfocaccia-qemu-e23e400ec62a03dea58ddb38479b4f1ef86f556d.tar.gz
focaccia-qemu-e23e400ec62a03dea58ddb38479b4f1ef86f556d.zip
qcow2-refcount: Repair OFLAG_COPIED errors
Since the OFLAG_COPIED checks are now executed after the refcounts have
been repaired (if repairing), it is safe to assume that they are correct
but the OFLAG_COPIED flag may be not. Therefore, if its value differs
from what it should be (considering the according refcount), that
discrepancy can be repaired by correctly setting (or clearing that flag.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/core/null-machine.c')
0 files changed, 0 insertions, 0 deletions