From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdYbR-0004Sx-9Y for qemu-devel@nongnu.org; Thu, 02 Apr 2015 02:27:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdYbC-0007Oz-Co for qemu-devel@nongnu.org; Thu, 02 Apr 2015 02:27:45 -0400 Received: from e23smtp05.au.ibm.com ([202.81.31.147]:52998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdYbB-0007Nt-Mm for qemu-devel@nongnu.org; Thu, 02 Apr 2015 02:27:30 -0400 Received: from /spool/local by e23smtp05.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 2 Apr 2015 16:27:26 +1000 From: Alexey Kardashevskiy Date: Thu, 2 Apr 2015 17:26:11 +1100 Message-Id: <1427955971-8895-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH qemu] qemu-options: Add documentation about PPC64's "-cpu compat" option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, Alexander Graf , David Gibson Since 8dfa3a5e "target-ppc: Add "compat" CPU option" (which was a part of client-architecture-support patchset) there is a "compat" option of "-cpu". However it was not documented at all and this is what this patch is trying to do. Signed-off-by: Alexey Kardashevskiy --- qemu-options.hx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/qemu-options.hx b/qemu-options.hx index c513352..bd15214 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -84,11 +84,20 @@ HXCOMM Deprecated by -machine 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) + "-cpu cpu,[compat=MODE]\n" + " select CPU ('-cpu help' for list)\n" + " compat= processor compatibility mode (PPC64 only)\n", + QEMU_ARCH_ALL) STEXI @item -cpu @var{model} @findex -cpu Select CPU model (@code{-cpu help} for list and additional feature selection) +@table @option +@item compat=power6|power7|power8 +(PPC64 only) +Enables architecture compatibility mode. "power6" enables PowerISA 2.05, +"power7" - 2.06, "power8" - 2.07. +@end table ETEXI DEF("smp", HAS_ARG, QEMU_OPTION_smp, -- 2.0.0