On Fri, Mar 20, 2015 at 03:16:54PM -0400, John Snow wrote: > 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 <js...@redhat.com> > Reviewed-by: Max Reitz <mre...@redhat.com> > --- > block.c | 8 ++++++++ > blockdev.c | 34 ++++++++++++++++++++++++++++++++++ > include/block/block.h | 1 + > qapi/block-core.json | 14 ++++++++++++++ > qmp-commands.hx | 29 +++++++++++++++++++++++++++++ > 5 files changed, 86 insertions(+)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
pgp5XEbyZlvua.pgp
Description: PGP signature