From nobody Fri Dec 12 14:28:20 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1621431591; cv=none; d=zohomail.com; s=zohoarc; b=hpwNlWyqQMbHd64whyqxoF7xXCaLW9IacTG3c5LsaG/Ug+mIxnBiRq4TqISNaEuKPMTmtTi+sS4/tjqlzYerA3ummcZhet5s+mJQPg47EYvRIz93xC7BoNkt7EQZj+h1tksA9Cfrpc/5httP336FxsqJ020hqUQzmQvsM1o/NNk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621431591; h=Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=LdPaDLQWCsEdYZlho3JqGG45YDe2K5nFQcz4aJSlmtU=; b=eghWjAPf3AdjalHinaChAhTfNTfodo43pBx67DLu7K7Vp+0pty6d9Cm16bLNosUAwWDEtbYkI5uR/SiDye2l4fkwfrRX2lFDTq5r7EUmut9Fz8+/MABVttZmyd77qUBkkaxkUjvxwsthxPmUB1o4cdf5jtHuC5HqjQhBaEwIQX0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1621431590915933.3941724448453; Wed, 19 May 2021 06:39:50 -0700 (PDT) Received: from localhost ([::1]:51734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljMQP-0003fh-3B for importer@patchew.org; Wed, 19 May 2021 09:39:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljGN9-0002Ub-9R for qemu-devel@nongnu.org; Wed, 19 May 2021 03:12:03 -0400 Received: from box.routerhosting.com ([37.10.113.220]:52635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljGN7-0001He-OT for qemu-devel@nongnu.org; Wed, 19 May 2021 03:12:03 -0400 Received: from authenticated-user (box.routerhosting.com [37.10.113.220]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.routerhosting.com (Postfix) with ESMTPSA id C42DE4DB9A for ; Wed, 19 May 2021 11:41:59 +0430 (+0430) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=routerhosting.com; s=mail; t=1621408320; bh=OcAM4gQf3GQM8j3nHLIqeMJf+/r+97+HCT6LGWV5oH8=; h=From:To:Subject:Date:From; b=1jPfCZmL/0958Ley9mfgsJ2JPJ+kBlCbKVFPNrJJ1vDUASAbX7X/3xxK94Ac9MqJN aw5uXbkqDOQcPzxtcNMD0C6UBgjpgQjN8spPa1FHFVLgpBquA/x21FOciFf68CPX5j tETWavJ1PLZfxS5Upjc/R+2pEhQyW0FbbpNe08me8TM90Puqh4QdxTwx3IonmwoQzT E0mz+Bxvrsv499056bC0UJNAFNTT2ykbx7yCs3M+/vO2efvqSCju7DQEKhus4+pPO5 sA9+oKP2qnuQDzgWuJL7ayS1AW06/Qb/AfVXfpBHjtioLpfmOc67ZU55FpnGc/C3uq lOPxnRufTG2xw== To: qemu-devel@nongnu.org Subject: [PATCH] doc: Add notes about -mon option mode=control argument. Date: Wed, 19 May 2021 11:41:45 +0430 Message-Id: <0799f0de89ad2482672b5d61d0de61e6eba782da.1621407918.git.alishir@routerhosting.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=37.10.113.220; envelope-from=alishir@routerhosting.com; helo=box.routerhosting.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 19 May 2021 09:34:45 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Reply-to: Ali Shirvani From: Ali Shirvani via X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" The mode=3Dcontrol argument configures a QMP monitor. Signed-off-by: Ali Shirvani Reviewed-by: Stefan Hajnoczi --- qemu-options.hx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index e22fb94d99..292c6f6bdc 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -3787,8 +3787,11 @@ DEF("mon", HAS_ARG, QEMU_OPTION_mon, \ "-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty[=3Don|off]]\n= ", QEMU_ARCH_ALL) SRST ``-mon [chardev=3D]name[,mode=3Dreadline|control][,pretty[=3Don|off]]`` - Setup monitor on chardev name. ``pretty`` is only valid when - ``mode=3Dcontrol``, turning on JSON pretty printing to ease + Setup monitor on chardev name. ``mode=3Dcontrol`` configures=20 + a QMP monitor (a JSON RPC-style protocol) and it is not the + same as HMP, the human monitor that has a "(qemu)" prompt. + ``pretty`` is only valid when ``mode=3Dcontrol``,=20 + turning on JSON pretty printing to ease human reading and debugging. ERST =20 --=20 2.30.2