From patchwork Tue Mar 13 18:09:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Man page: Add -global description From: Miroslav Rezanina X-Patchwork-Id: 146464 Message-Id: <20585aca-cce1-4305-9ef8-69e51321930c@zmail17.collab.prod.int.phx2.redhat.com> To: qemu-devel@nongnu.org Date: Tue, 13 Mar 2012 14:09:31 -0400 (EDT) There's only TODO information in qemu man page for -global option. This is a basic description of this option with simple example. Signed-off-by: Miroslav Rezanina Patch: --- diff --git a/qemu-options.hx b/qemu-options.hx index daefce3..56d8c78 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -292,9 +292,13 @@ DEF("global", HAS_ARG, QEMU_OPTION_global, " set a global default for a driver property\n", QEMU_ARCH_ALL) STEXI -@item -global +@item -global @var{driver}.@var{property}=@var{value} @findex -global -TODO +Set a default value of the @var{driver}'s @var{property} to the @var{value}, e.g.: + +@example +qemu -global ide-drive.physical_block_size=524 -drive file=file,if=ide,index=0,media=disk +@end example ETEXI DEF("mtdblock", HAS_ARG, QEMU_OPTION_mtdblock,