aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Novotny <minovotn@redhat.com>2012-07-16 14:28:32 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-07-17 15:40:15 -0500
commited24cfac07289d458ff284898bbd0389743a18b7 (patch)
treed0ab097dacec775875605c1342ddd91cef1b2090
parent3b25597bcf7fa8c92ba2107fbdb260ce0eccd64b (diff)
qemu-options.hx: Improve -{read|write}config options description
This is the patch to improve description for -{read|write}config functions. Signed-off-by: Michal Novotny <minovotn@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--qemu-options.hx8
1 files changed, 6 insertions, 2 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index ecf7ca12d7..7130bc328b 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2697,7 +2697,9 @@ DEF("readconfig", HAS_ARG, QEMU_OPTION_readconfig,
STEXI
@item -readconfig @var{file}
@findex -readconfig
-Read device configuration from @var{file}.
+Read device configuration from @var{file}. This approach is useful when you want to spawn
+QEMU process with many command line options but you don't want to exceed the command line
+character limit.
ETEXI
DEF("writeconfig", HAS_ARG, QEMU_OPTION_writeconfig,
"-writeconfig <file>\n"
@@ -2705,7 +2707,9 @@ DEF("writeconfig", HAS_ARG, QEMU_OPTION_writeconfig,
STEXI
@item -writeconfig @var{file}
@findex -writeconfig
-Write device configuration to @var{file}.
+Write device configuration to @var{file}. The @var{file} can be either filename to save
+command line and device configuration into file or dash @code{-}) character to print the
+output to stdout. This can be later used as input file for @code{-readconfig} option.
ETEXI
DEF("nodefconfig", 0, QEMU_OPTION_nodefconfig,
"-nodefconfig\n"