@@ -2099,7 +2099,7 @@ DEF("chardev", HAS_ARG, QEMU_OPTION_chardev,
"-chardev vc,id=id[[,width=width][,height=height]][[,cols=cols][,rows=rows]]\n"
" [,mux=on|off]\n"
"-chardev ringbuf,id=id[,size=size]\n"
- "-chardev file,id=id,path=path[,mux=on|off]\n"
+ "-chardev file,id=id,path=path[,mux=on|off][,append=on|off]\n"
"-chardev pipe,id=id,path=path[,mux=on|off]\n"
#ifdef _WIN32
"-chardev console,id=id[,mux=on|off]\n"
@@ -2254,7 +2254,7 @@ console with the given dimensions.
Create a ring buffer with fixed size @option{size}.
@var{size} must be a power of two, and defaults to @code{64K}).
-@item -chardev file ,id=@var{id} ,path=@var{path}
+@item -chardev file ,id=@var{id} ,path=@var{path} [,append=@var{on|off}]
Log all traffic received from the guest to a file.
@@ -2262,6 +2262,9 @@ Log all traffic received from the guest to a file.
created if it does not already exist, and overwritten if it does. @option{path}
is required.
+@option{append} specifies that QEMU should append to the file. The file is
+truncated if the option is omitted or is specified as off.
+
@item -chardev pipe ,id=@var{id} ,path=@var{path}
Create a two-way connection to the guest. The behaviour differs slightly between