diff options
| author | John Snow | 2015-04-18 01:49:56 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2015-04-28 15:36:10 +0200 |
| commit | b8e6fb752e43b45b428487c244cab35f0ab94b10 (patch) | |
| tree | 81cf4216fedce78bda6aaa9d5bfb105c536fc234 /blockdev.c | |
| parent | hbitmap: add hbitmap_merge (diff) | |
| download | qemu-b8e6fb752e43b45b428487c244cab35f0ab94b10.tar.gz qemu-b8e6fb752e43b45b428487c244cab35f0ab94b10.tar.xz qemu-b8e6fb752e43b45b428487c244cab35f0ab94b10.zip | |
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 <famz@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1429314609-29776-9-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
