aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2016-03-08 12:44:52 +0800
committerMax Reitz <mreitz@redhat.com>2016-03-14 17:35:05 +0100
commitb2f56462d51a49c28d2a7b214b3ae8e8d3329f1f (patch)
treec64b4a83442932b3cfff060cfab8a8cbb297949d /include
parentb8f45cdf7827e39f9a1e6cc446f5972cc6144237 (diff)
downloadqemu-b2f56462d51a49c28d2a7b214b3ae8e8d3329f1f.zip
qemu-b2f56462d51a49c28d2a7b214b3ae8e8d3329f1f.tar.gz
qemu-b2f56462d51a49c28d2a7b214b3ae8e8d3329f1f.tar.bz2
backup: Use Bitmap to replace "s->bitmap"
"s->bitmap" tracks done sectors, we only check bit states without using any iterator which HBitmap is good for. Switch to "Bitmap" which is simpler and more memory efficient. Meanwhile, rename it to done_bitmap, to reflect the intention. Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 1457412306-18940-2-git-send-email-famz@redhat.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions