|
|
0a122b |
From bcfb39087baadf3aaf96b78f38093e4ed7951df4 Mon Sep 17 00:00:00 2001
|
|
|
0a122b |
From: Fam Zheng <famz@redhat.com>
|
|
|
0a122b |
Date: Fri, 17 Jan 2014 03:07:55 +0100
|
|
|
0a122b |
Subject: [PATCH 12/34] qapi: Introduce enum BlockJobType
|
|
|
0a122b |
|
|
|
0a122b |
RH-Author: Fam Zheng <famz@redhat.com>
|
|
|
0a122b |
Message-id: <1389928083-8921-11-git-send-email-famz@redhat.com>
|
|
|
0a122b |
Patchwork-id: 56772
|
|
|
0a122b |
O-Subject: [RHEL-7 qemu-kvm PATCH 10/18] qapi: Introduce enum BlockJobType
|
|
|
0a122b |
Bugzilla: 1041301
|
|
|
0a122b |
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
|
|
|
0a122b |
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
0a122b |
RH-Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
0a122b |
|
|
|
0a122b |
This will replace the open coded block job type string for mirror,
|
|
|
0a122b |
commit and backup.
|
|
|
0a122b |
|
|
|
0a122b |
Signed-off-by: Fam Zheng <famz@redhat.com>
|
|
|
0a122b |
Reviewed-by: Eric Blake <eblake@redhat.com>
|
|
|
0a122b |
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
|
|
0a122b |
(cherry picked from commit 2cb5b22286a7546226d9e9363aaee543fcba6b61)
|
|
|
0a122b |
Signed-off-by: Fam Zheng <famz@redhat.com>
|
|
|
0a122b |
---
|
|
|
0a122b |
qapi-schema.json | 18 ++++++++++++++++++
|
|
|
0a122b |
1 file changed, 18 insertions(+)
|
|
|
0a122b |
|
|
|
0a122b |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
0a122b |
---
|
|
|
0a122b |
qapi-schema.json | 18 ++++++++++++++++++
|
|
|
0a122b |
1 files changed, 18 insertions(+), 0 deletions(-)
|
|
|
0a122b |
|
|
|
0a122b |
diff --git a/qapi-schema.json b/qapi-schema.json
|
|
|
0a122b |
index 761512d..b0bd53c 100644
|
|
|
0a122b |
--- a/qapi-schema.json
|
|
|
0a122b |
+++ b/qapi-schema.json
|
|
|
0a122b |
@@ -1407,6 +1407,24 @@
|
|
|
0a122b |
'data': ['top', 'full', 'none'] }
|
|
|
0a122b |
|
|
|
0a122b |
##
|
|
|
0a122b |
+# @BlockJobType:
|
|
|
0a122b |
+#
|
|
|
0a122b |
+# Type of a block job.
|
|
|
0a122b |
+#
|
|
|
0a122b |
+# @commit: block commit job type, see "block-commit"
|
|
|
0a122b |
+#
|
|
|
0a122b |
+# @stream: block stream job type, see "block-stream"
|
|
|
0a122b |
+#
|
|
|
0a122b |
+# @mirror: drive mirror job type, see "drive-mirror"
|
|
|
0a122b |
+#
|
|
|
0a122b |
+# @backup: drive backup job type, see "drive-backup"
|
|
|
0a122b |
+#
|
|
|
0a122b |
+# Since: 1.7
|
|
|
0a122b |
+##
|
|
|
0a122b |
+{ 'enum': 'BlockJobType',
|
|
|
0a122b |
+ 'data': ['commit', 'stream', 'mirror', 'backup'] }
|
|
|
0a122b |
+
|
|
|
0a122b |
+##
|
|
|
0a122b |
# @BlockJobInfo:
|
|
|
0a122b |
#
|
|
|
0a122b |
# Information about a long-running block device operation.
|
|
|
0a122b |
--
|
|
|
0a122b |
1.7.1
|
|
|
0a122b |
|