diff options
| author | Vladimir Sementsov-Ogievskiy | 2018-03-13 20:34:00 +0100 |
|---|---|---|
| committer | John Snow | 2018-03-13 22:05:00 +0100 |
| commit | 4f43e9535bdd768bff4e30e229404407d44ad4c8 (patch) | |
| tree | cec69cbd83a0ed14e34974815c8b1839d84c8408 /qapi | |
| parent | block/dirty-bitmap: add _locked version of bdrv_reclaim_dirty_bitmap (diff) | |
| download | qemu-4f43e9535bdd768bff4e30e229404407d44ad4c8.tar.gz qemu-4f43e9535bdd768bff4e30e229404407d44ad4c8.tar.xz qemu-4f43e9535bdd768bff4e30e229404407d44ad4c8.zip | |
dirty-bitmap: add locked state
Add special state, when qmp operations on the bitmap are disabled.
It is needed during bitmap migration. "Frozen" state is not
appropriate here, because it looks like bitmap is unchanged.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180207155837.92351-5-vsementsov@virtuozzo.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'qapi')
| -rw-r--r-- | qapi/block-core.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 524d51567a..2b378f510a 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -426,10 +426,13 @@ # @active: The bitmap is actively monitoring for new writes, and can be cleared, # deleted, or used for backup operations. # +# @locked: The bitmap is currently in-use by some operation and can not be +# cleared, deleted, or used for backup operations. (Since 2.12) +# # Since: 2.4 ## { 'enum': 'DirtyBitmapStatus', - 'data': ['active', 'disabled', 'frozen'] } + 'data': ['active', 'disabled', 'frozen', 'locked'] } ## # @BlockDirtyInfo: |
