projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fc4b10
)
qapi: Introduce enum BlockJobType
author
Fam Zheng
<famz@redhat.com>
Tue, 8 Oct 2013 09:29:39 +0000
(17:29 +0800)
committer
Kevin Wolf
<kwolf@redhat.com>
Fri, 11 Oct 2013 08:52:54 +0000
(10:52 +0200)
This will replace the open coded block job type string for mirror,
commit and backup.
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qapi-schema.json
patch
|
blob
|
history
diff --git
a/qapi-schema.json
b/qapi-schema.json
index 145eca8855cbbb798b164b2c6cae1471e24e194a..381ffbf932e44fcd639a27058bb745b41b65b73c 100644
(file)
--- a/
qapi-schema.json
+++ b/
qapi-schema.json
@@
-1365,6
+1365,24
@@
{ 'enum': 'MirrorSyncMode',
'data': ['top', 'full', 'none'] }
+##
+# @BlockJobType:
+#
+# Type of a block job.
+#
+# @commit: block commit job type, see "block-commit"
+#
+# @stream: block stream job type, see "block-stream"
+#
+# @mirror: drive mirror job type, see "drive-mirror"
+#
+# @backup: drive backup job type, see "drive-backup"
+#
+# Since: 1.7
+##
+{ 'enum': 'BlockJobType',
+ 'data': ['commit', 'stream', 'mirror', 'backup'] }
+
##
# @BlockJobInfo:
#