aboutsummaryrefslogtreecommitdiff
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorOlga Krishtal <okrishtal@virtuozzo.com>2015-12-04 09:42:04 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2015-12-17 17:33:47 +0100
commit31e38a22a0c5a25646f966f001e1f5513d5a186d (patch)
treec78d9100a49558ba081de7f087b759728d8684b2 /qapi-schema.json
parent15eafc2e602ff8c37c6e132eb8c63fec8fc17175 (diff)
downloadqemu-arm-31e38a22a0c5a25646f966f001e1f5513d5a186d.tar.gz
qemu-char: append opt to stop truncation of serial file
Our QA team wants to preserve serial output of the guest in between QEMU runs to perform post-analysis. By default this behavior is off (file is truncated each time QEMU is started or device is plugged). Signed-off-by: Olga Krishtal <okrishtal@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Eric Blake <eblake@redhat.com> CC: Markus Armbruster <armbru@redhat.com> CC: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <1449211324-17856-1-git-send-email-den@openvz.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r--qapi-schema.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index f014a80f72..516b14526b 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -3102,11 +3102,14 @@
#
# @in: #optional The name of the input file
# @out: The name of the output file
+# @append: #optional Open the file in append mode (default false to
+# truncate) (Since 2.6)
#
# Since: 1.4
##
{ 'struct': 'ChardevFile', 'data': { '*in' : 'str',
- 'out' : 'str' } }
+ 'out' : 'str',
+ '*append': 'bool' } }
##
# @ChardevHostdev: