aboutsummaryrefslogtreecommitdiff
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorLin Ma <lma@suse.com>2016-08-17 01:13:52 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-09-13 19:08:47 +0200
commit517b3d40166f18e321e964e5fe0d6260e92b2121 (patch)
tree86323e58ac4ebb22937efd15eb5cb6dee74a19d0 /qemu-options.hx
parent173134467a585c66c43467c71b834cd0b488cf46 (diff)
downloadqemu-517b3d40166f18e321e964e5fe0d6260e92b2121.zip
qemu-517b3d40166f18e321e964e5fe0d6260e92b2121.tar.gz
qemu-517b3d40166f18e321e964e5fe0d6260e92b2121.tar.bz2
chardev: Add 'help' option to print all available chardev backend types
Signed-off-by: Lin Ma <lma@suse.com> Message-Id: <20160816171352.17021-1-lma@suse.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index 5209626..4927939 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2152,6 +2152,7 @@ The general form of a character device option is:
ETEXI
DEF("chardev", HAS_ARG, QEMU_OPTION_chardev,
+ "-chardev help\n"
"-chardev null,id=id[,mux=on|off][,logfile=PATH][,logappend=on|off]\n"
"-chardev socket,id=id[,host=host],port=port[,to=to][,ipv4][,ipv6][,nodelay][,reconnect=seconds]\n"
" [,server][,nowait][,telnet][,reconnect=seconds][,mux=on|off]\n"
@@ -2217,6 +2218,8 @@ Backend is one of:
@option{spiceport}.
The specific backend will determine the applicable options.
+Use "-chardev help" to print all available chardev backend types.
+
All devices must have an id, which can be any string up to 127 characters long.
It is used to uniquely identify this device in other command line directives.