On Fri, Mar 20, 2015 at 03:16:51PM -0400, John Snow wrote: > Add a status indicating the enabled/disabled state of the bitmap. > A bitmap is by default enabled, but you can lock the bitmap into > a read-only state by setting disabled = true. > > A previous version of this patch added a QMP interface for changing > the state of the bitmap, but it has since been removed for now until > a use case emerges where this state must be revealed to the user. > > The disabled state WILL be used internally for bitmap migration and > bitmap persistence. > > Signed-off-by: Fam Zheng <f...@redhat.com> > Signed-off-by: John Snow <js...@redhat.com> > Reviewed-by: Max Reitz <mre...@redhat.com> > --- > block.c | 25 +++++++++++++++++++++++++ > include/block/block.h | 3 +++ > 2 files changed, 28 insertions(+)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
pgpzQ8lOBY5sX.pgp
Description: PGP signature