This adds the enum of all the operations that can be taken on a block device.
Signed-off-by: Fam Zheng <f...@redhat.com> --- qapi-schema.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/qapi-schema.json b/qapi-schema.json index 83fa485..4656e8c 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1440,6 +1440,31 @@ 'data': ['commit', 'stream', 'mirror', 'backup'] } ## +# @BlockOperationType +# Type of a block operation. +# +# Since: 1.8 +## +{ 'enum': 'BlockOpType', + 'data': [ + 'backup', + 'change', + 'commit', + 'dataplane', + 'drive-del', + 'eject', + 'external-snapshot', + 'internal-snapshot', + 'internal-snapshot-delete', + 'mirror', + 'nbd-server-add', + 'passwd', + 'resize', + 'set-io-throttle', + 'stream' +] } + +## # @BlockJobInfo: # # Information about a long-running block device operation. -- 1.8.4.2