]> git.proxmox.com Git - qemu.git/blobdiff - qapi-schema.json
chardev: add file chardev support to chardev-add (qmp)
[qemu.git] / qapi-schema.json
index 462511e9044fddfdd76567579fd9ebaf18a16c10..c70c11840ab9949c8c668e4a852eefaa73ebf0c0 100644 (file)
 ##
 { 'command': 'nbd-server-stop' }
 
+##
+# @ChardevFile:
+#
+# Configuration info for file chardevs.
+#
+# @in:  #optional The name of the input file
+# @out: The name of the output file
+#
+# Since: 1.4
+##
+{ 'type': 'ChardevFile', 'data': { '*in' : 'str',
+                                   'out' : 'str' } }
+
 ##
 # @ChardevBackend:
 #
 ##
 { 'type': 'ChardevDummy', 'data': { } }
 
-{ 'union': 'ChardevBackend', 'data': { 'null' : 'ChardevDummy' } }
+{ 'union': 'ChardevBackend', 'data': { 'file' : 'ChardevFile',
+                                       'null' : 'ChardevDummy' } }
 
 ##
 # @ChardevReturn: