Skip to contentSkip to conversation

Add documentation of CPU flags for -cpu option

PATCH New Alex Bligh 1 participant 1 message Apr 28, 2015

lore
Share & tools
lore

Alex Bligh

author
#0 lore raw

PATCH 1/1 Add documentation of CPU flags for -cpu option

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.

---
 qemu-options.hx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
qemu-options.hx +2 -2
index 319d971..70e9b06 100644
@@ -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,
Signature · 1 line
1.9.1