mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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>
This commit is contained in:
parent
044ee8e143
commit
4f43e9535b
4 changed files with 42 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue