mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
qapi: add x-block-dirty-bitmap-enable/disable
Expose the ability to turn bitmaps "on" or "off". This is experimental and principally for the sake of the Libvirt Checkpoints API, and it may or may not be committed for 3.0. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Message-id: 20180606182449.1607-3-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
This commit is contained in:
parent
8b1402ce80
commit
5c5d2e50e5
2 changed files with 84 additions and 0 deletions
|
@ -1808,6 +1808,48 @@
|
|||
{ 'command': 'block-dirty-bitmap-clear',
|
||||
'data': 'BlockDirtyBitmap' }
|
||||
|
||||
##
|
||||
# @x-block-dirty-bitmap-enable:
|
||||
#
|
||||
# Enables a dirty bitmap so that it will begin tracking disk changes.
|
||||
#
|
||||
# Returns: nothing on success
|
||||
# If @node is not a valid block device, DeviceNotFound
|
||||
# If @name is not found, GenericError with an explanation
|
||||
#
|
||||
# Since: 3.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "x-block-dirty-bitmap-enable",
|
||||
# "arguments": { "node": "drive0", "name": "bitmap0" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'x-block-dirty-bitmap-enable',
|
||||
'data': 'BlockDirtyBitmap' }
|
||||
|
||||
##
|
||||
# @x-block-dirty-bitmap-disable:
|
||||
#
|
||||
# Disables a dirty bitmap so that it will stop tracking disk changes.
|
||||
#
|
||||
# Returns: nothing on success
|
||||
# If @node is not a valid block device, DeviceNotFound
|
||||
# If @name is not found, GenericError with an explanation
|
||||
#
|
||||
# Since: 3.0
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "x-block-dirty-bitmap-disable",
|
||||
# "arguments": { "node": "drive0", "name": "bitmap0" } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'x-block-dirty-bitmap-disable',
|
||||
'data': 'BlockDirtyBitmap' }
|
||||
|
||||
##
|
||||
# @BlockDirtyBitmapSha256:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue