diff mbox

Add documentation of CPU flags for -cpu option

Message ID 1430256371-36371-1-git-send-email-alex@alex.org.uk
State New
Headers show

Commit Message

Alex Bligh April 28, 2015, 9:26 p.m. UTC
The current documentation for -cpu merely refers the user to run
-cpu help, but whilst this lists the flags, it doesn't actually
say how to use them.

Signed-off-by: Alex Bligh <alex@alex.org.uk>
---
 qemu-options.hx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/qemu-options.hx b/qemu-options.hx
index 319d971..70e9b06 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -86,9 +86,9 @@  DEF("M", HAS_ARG, QEMU_OPTION_M, "", QEMU_ARCH_ALL)
 DEF("cpu", HAS_ARG, QEMU_OPTION_cpu,
     "-cpu cpu        select CPU ('-cpu help' for list)\n", QEMU_ARCH_ALL)
 STEXI
-@item -cpu @var{model}
+@item -cpu @var{model}[,[+|-]@var{flag}[,...]]
 @findex -cpu
-Select CPU model (@code{-cpu help} for list and additional feature selection)
+Select CPU model (@code{-cpu help} for list and additional feature selection). Flags can be specified by appending a comma and a comma seperated list of flags, each preceded by '+' or '-' to the model.
 ETEXI
 
 DEF("smp", HAS_ARG, QEMU_OPTION_smp,