diff mbox

[RFC,V7,02/32] qmp: Add DedupStatus enum.

Message ID 1363358986-8360-3-git-send-email-benoit@irqsave.net
State New
Headers show

Commit Message

BenoƮt Canet March 15, 2013, 2:49 p.m. UTC
---
 qapi-schema.json |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox

Patch

diff --git a/qapi-schema.json b/qapi-schema.json
index 28b070f..ec01773 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -839,6 +839,24 @@ 
 { 'command': 'query-block', 'returns': ['BlockInfo'] }
 
 ##
+# @DedupStatus
+#
+# An enumeration of a virtual block device deduplication status.
+#
+# @stopped:  The deduplication has been stopped
+#
+# @starting: The deduplication is starting
+#
+# @started:  The deduplication is started
+#
+# @stopping: The deduplication is stopping
+#
+# Since: 1.5.0
+##
+{ 'enum': 'DedupStatus', 'data': [ 'stopped', 'starting', 'started',
+                                   'stopping' ] }
+
+##
 # @BlockDeviceStats:
 #
 # Statistics of a virtual block device or a block backing device.