]> Git Repo - qemu.git/commit
block: Add bitmap disabled status
authorJohn Snow <[email protected]>
Fri, 17 Apr 2015 23:49:56 +0000 (19:49 -0400)
committerKevin Wolf <[email protected]>
Tue, 28 Apr 2015 13:36:10 +0000 (15:36 +0200)
commitb8e6fb752e43b45b428487c244cab35f0ab94b10
tree81cf4216fedce78bda6aaa9d5bfb105c536fc234
parentbe58721dbf882fa8830f3669f499b0a5b501e90f
block: Add bitmap disabled status

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 <[email protected]>
Signed-off-by: John Snow <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Message-id: 1429314609[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block.c
include/block/block.h
This page took 0.023531 seconds and 4 git commands to generate.