|
@@ -3360,7 +3360,7 @@ DEF("chardev", HAS_ARG, QEMU_OPTION_chardev,
|
|
|
"-chardev vc,id=id[[,width=width][,height=height]][[,cols=cols][,rows=rows]]\n"
|
|
|
" [,mux=on|off][,logfile=PATH][,logappend=on|off]\n"
|
|
|
"-chardev ringbuf,id=id[,size=size][,logfile=PATH][,logappend=on|off]\n"
|
|
|
- "-chardev file,id=id,path=path[,mux=on|off][,logfile=PATH][,logappend=on|off]\n"
|
|
|
+ "-chardev file,id=id,path=path[,input-path=input-file][,mux=on|off][,logfile=PATH][,logappend=on|off]\n"
|
|
|
"-chardev pipe,id=id,path=path[,mux=on|off][,logfile=PATH][,logappend=on|off]\n"
|
|
|
#ifdef _WIN32
|
|
|
"-chardev console,id=id[,mux=on|off][,logfile=PATH][,logappend=on|off]\n"
|
|
@@ -3563,13 +3563,19 @@ The available backends are:
|
|
|
Create a ring buffer with fixed size ``size``. size must be a power
|
|
|
of two and defaults to ``64K``.
|
|
|
|
|
|
-``-chardev file,id=id,path=path``
|
|
|
+``-chardev file,id=id,path=path[,input-path=input-path]``
|
|
|
Log all traffic received from the guest to a file.
|
|
|
|
|
|
``path`` specifies the path of the file to be opened. This file will
|
|
|
be created if it does not already exist, and overwritten if it does.
|
|
|
``path`` is required.
|
|
|
|
|
|
+ If ``input-path`` is specified, this is the path of a second file
|
|
|
+ which will be used for input. If ``input-path`` is not specified,
|
|
|
+ no input will be available from the chardev.
|
|
|
+
|
|
|
+ Note that ``input-path`` is not supported on Windows hosts.
|
|
|
+
|
|
|
``-chardev pipe,id=id,path=path``
|
|
|
Create a two-way connection to the guest. The behaviour differs
|
|
|
slightly between Windows hosts and other hosts:
|