aboutsummaryrefslogtreecommitdiff
path: root/qemu-options.hx
diff options
context:
space:
mode:
authorMiroslav Rezanina <mrezanin@redhat.com>2012-03-21 13:46:54 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2012-03-26 14:21:14 -0500
commit3017b72cd0f4c7f7df9e93d3f7a4f600669187f7 (patch)
treebb47644672840c99e4b20b71c63db152afa29aca /qemu-options.hx
parentc9da228b49792354af6bb6735bc48bc1c156bc0d (diff)
downloadqemu-arm-3017b72cd0f4c7f7df9e93d3f7a4f600669187f7.tar.gz
Man page: Add -global description
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 <mrezanin@redhat.com> v4: - break long line v3: - add use case description - use prop instead of property v2: - Use better value in example Patch: -- Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx14
1 files changed, 11 insertions, 3 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index daefce3038..662f571527 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -288,13 +288,21 @@ TODO
ETEXI
DEF("global", HAS_ARG, QEMU_OPTION_global,
- "-global driver.property=value\n"
+ "-global driver.prop=value\n"
" set a global default for a driver property\n",
QEMU_ARCH_ALL)
STEXI
-@item -global
+@item -global @var{driver}.@var{prop}=@var{value}
@findex -global
-TODO
+Set default value of @var{driver}'s property @var{prop} to @var{value}, e.g.:
+
+@example
+qemu -global ide-drive.physical_block_size=4096 -drive file=file,if=ide,index=0,media=disk
+@end example
+
+In particular, you can use this to set driver properties for devices which are
+created automatically by the machine model. To create a device which is not
+created automatically and set properties on it, use -@option{device}.
ETEXI
DEF("mtdblock", HAS_ARG, QEMU_OPTION_mtdblock,