qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 1/7] qapi: Add BlockOperationType enum


From: Fam Zheng
Subject: [Qemu-devel] [PATCH v4 1/7] qapi: Add BlockOperationType enum
Date: Fri, 22 Nov 2013 13:24:48 +0800

This adds the enum of all the operations that can be taken on a block
device.

Signed-off-by: Fam Zheng <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]