]> git.proxmox.com Git - mirror_qemu.git/commit - blockdev.c
qmp: add block-dirty-bitmap-clear
authorJohn Snow <jsnow@redhat.com>
Fri, 17 Apr 2015 23:49:59 +0000 (19:49 -0400)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Apr 2015 13:36:10 +0000 (15:36 +0200)
commite74e6b78e6fe0c9ee426d1278fff45f5fa0af766
tree7e076da8b90218a37041d5ec59bc3c747abd7a7b
parentd58d84539784d27c826924a79d9436178b07ff69
qmp: add block-dirty-bitmap-clear

Add bdrv_clear_dirty_bitmap and a matching QMP command,
qmp_block_dirty_bitmap_clear that enables a user to reset
the bitmap attached to a drive.

This allows us to reset a bitmap in the event of a full
drive backup.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1429314609-29776-12-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
blockdev.c
include/block/block.h
qapi/block-core.json
qmp-commands.hx