diff options
author | Vladimir Sementsov-Ogievskiy | 2018-06-11 20:53:32 +0200 |
---|---|---|
committer | John Snow | 2018-06-11 20:53:32 +0200 |
commit | a6e2ca5f6521553681ae136578ec1cb67e1a7973 (patch) | |
tree | e4dd7cf4192da29860e2298302bff6deb02217e4 /qapi | |
parent | qapi: add x-block-dirty-bitmap-merge (diff) | |
download | qemu-a6e2ca5f6521553681ae136578ec1cb67e1a7973.tar.gz qemu-a6e2ca5f6521553681ae136578ec1cb67e1a7973.tar.xz qemu-a6e2ca5f6521553681ae136578ec1cb67e1a7973.zip |
qapi: add disabled parameter to block-dirty-bitmap-add
This is needed, for example, to create a new bitmap and merge several
disabled bitmaps into a new one. Without this flag we will have to
put block-dirty-bitmap-add and block-dirty-bitmap-disable into one
transaction.
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-6-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/block-core.json | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi/block-core.json b/qapi/block-core.json index 9d4ab93190..fff23fc82b 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -1734,11 +1734,15 @@ # Currently, all dirty tracking bitmaps are loaded from Qcow2 on # open. # +# @x-disabled: the bitmap is created in the disabled state, which means that +# it will not track drive changes. The bitmap may be enabled with +# x-block-dirty-bitmap-enable. Default is false. (Since: 3.0) +# # Since: 2.4 ## { 'struct': 'BlockDirtyBitmapAdd', 'data': { 'node': 'str', 'name': 'str', '*granularity': 'uint32', - '*persistent': 'bool', '*autoload': 'bool' } } + '*persistent': 'bool', '*autoload': 'bool', '*x-disabled': 'bool' } } ## # @BlockDirtyBitmapMerge: |