aboutsummaryrefslogtreecommitdiff
path: root/qapi/common.json
diff options
context:
space:
mode:
Diffstat (limited to 'qapi/common.json')
-rw-r--r--qapi/common.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/qapi/common.json b/qapi/common.json
index e2c58564d8..fc72d7ec3d 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -132,6 +132,20 @@
{ 'command': 'query-commands', 'returns': ['CommandInfo'] }
##
+# @IoOperationType:
+#
+# An enumeration of the I/O operation types
+#
+# @read: read operation
+#
+# @write: write operation
+#
+# Since: 2.1
+##
+{ 'enum': 'IoOperationType',
+ 'data': [ 'read', 'write' ] }
+
+##
# @OnOffAuto:
#
# An enumeration of three options: on, off, and auto