diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2020-02-28 15:36:10 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-03-06 10:05:18 +0000 |
commit | 196afbb0949daf41c3742b5f1ac2173bb51a684e (patch) | |
tree | 668523f10a519f10dd50562fa794179b2ecc12a3 /qemu-options.hx | |
parent | 44d79a6bd74b1e98394f456957f3c919c44cf4aa (diff) |
docs: Roll -prom-env and -g target-specific info into qemu-options.hx
The SPARC and PPC targets currently have a fragment of target-specific
information about the -g and -prom options which would be better placed
as part of the general documentation of those options in qemu-options.hx.
Move the relevant information to those locations.
SPARC also has a bit of text about the -M option which is out of
date and provides no useful information over the generic documentation
of that option, so just delete it.
The motivation here is again to avoid having to awkwardly include
this text into the rST version of the qemu.1 manpage.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20200228153619.9906-25-peter.maydell@linaro.org
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index 753bfce411..4436690971 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1962,6 +1962,13 @@ STEXI @item -g @var{width}x@var{height}[x@var{depth}] @findex -g Set the initial graphical resolution and depth (PPC, SPARC only). + +For PPC the default is 800x600x32. + +For SPARC with the TCX graphics device, the default is 1024x768x8 with the +option of 1024x768x24. For cgthree, the default is 1024x768x8 with the option +of 1152x900x8 for people who wish to use OBP. + ETEXI DEF("vnc", HAS_ARG, QEMU_OPTION_vnc , @@ -4107,6 +4114,18 @@ STEXI @item -prom-env @var{variable}=@var{value} @findex -prom-env Set OpenBIOS nvram @var{variable} to given @var{value} (PPC, SPARC only). + +@example +qemu-system-sparc -prom-env 'auto-boot?=false' \ + -prom-env 'boot-device=sd(0,2,0):d' -prom-env 'boot-args=linux single' +@end example + +@example +qemu-system-ppc -prom-env 'auto-boot?=false' \ + -prom-env 'boot-device=hd:2,\yaboot' \ + -prom-env 'boot-args=conf=hd:2,\yaboot.conf' +@end example + ETEXI DEF("semihosting", 0, QEMU_OPTION_semihosting, "-semihosting semihosting mode\n", |