diff options
author | Paolo Bonzini | 2018-06-11 20:53:31 +0200 |
---|---|---|
committer | John Snow | 2018-06-11 20:53:31 +0200 |
commit | ab41fc4853cc0cf01ed4903ffe7c36e3768b538f (patch) | |
tree | 0bd8b19509ece2248ae7e93fa830a48012f4d09d /blockdev.c | |
parent | Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2018-06-11' in... (diff) | |
download | qemu-ab41fc4853cc0cf01ed4903ffe7c36e3768b538f.tar.gz qemu-ab41fc4853cc0cf01ed4903ffe7c36e3768b538f.tar.xz qemu-ab41fc4853cc0cf01ed4903ffe7c36e3768b538f.zip |
block: remove bdrv_dirty_bitmap_make_anon
All this function is doing will be repeated by
bdrv_do_release_matching_dirty_bitmap_locked, except
resetting bm->persistent. But even that does not matter
because the bitmap will be freed.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20180323164254.26487-1-pbonzini@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'blockdev.c')
-rw-r--r-- | blockdev.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/blockdev.c b/blockdev.c index 8de95be8f4..266ecc06cc 100644 --- a/blockdev.c +++ b/blockdev.c @@ -2881,7 +2881,6 @@ void qmp_block_dirty_bitmap_remove(const char *node, const char *name, } } - bdrv_dirty_bitmap_make_anon(bitmap); bdrv_release_dirty_bitmap(bs, bitmap); } |