]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qapi-schema.json
block: add support for job pause/resume
[mirror_qemu.git] / qapi-schema.json
index 6fc6edaa2d802c93ffdecf26ea303af2a01351fa..86a6c7fe938c2c87b3a6a72fbbe884a93b71f600 100644 (file)
 # @busy: false if the job is known to be in a quiescent state, with
 #        no pending I/O.  Since 1.3.
 #
+# @paused: whether the job is paused or, if @busy is true, will
+#          pause itself as soon as possible.  Since 1.3.
+#
 # @offset: the current progress value
 #
 # @speed: the rate limit, bytes per second
 ##
 { 'type': 'BlockJobInfo',
   'data': {'type': 'str', 'device': 'str', 'len': 'int',
-           'offset': 'int', 'busy': 'bool', 'speed': 'int'} }
+           'offset': 'int', 'busy': 'bool', 'paused': 'bool', 'speed': 'int'} }
 
 ##
 # @query-block-jobs: