From nobody Mon Feb 9 03:16:06 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=treblig.org ARC-Seal: i=1; a=rsa-sha256; t=1768524722; cv=none; d=zohomail.com; s=zohoarc; b=kakkzRkaEqZILG2EFELuWQA9IT10hdf+NS0ABdBb7hci9zPDnAN2NG3uTAN+TrONa5n35RS31NpNQaDm35iPQEmFuu6gfKA/83lLnuw3K9KqgHc/I0q10zxeUi6P5CedTUbgtAyp833XYPIPmfi5fqzrMclRP6AWyJEtOAqOPy4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768524722; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=spUoSBLxVK/LW2IDytQ4t3d9mqfWBv3rna67/EINeR8=; b=RdUS8+VUd9yyI8Jr1pVWnOso+ZOVsudFmtZ3i2FIE368ztPj5si0aepNH0v3EgMmbMnGwNcb850VLyA1ddPHQm3Gv7fAEgyfOPIHNRKXXc3GDFvFv+WxZXnPlHus0ZENnNOvXQJFlVeu8jPYztTe0PmRU2qIokCPSiRF2dwU4GU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 176852472251594.39074308225838; Thu, 15 Jan 2026 16:52:02 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vgY44-0005zs-Cq; Thu, 15 Jan 2026 19:51:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vgY3w-0005vx-Kg for qemu-devel@nongnu.org; Thu, 15 Jan 2026 19:51:40 -0500 Received: from mx.treblig.org ([2a00:1098:5b::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vgY3t-0000qg-SW for qemu-devel@nongnu.org; Thu, 15 Jan 2026 19:51:39 -0500 Received: from localhost ([127.0.0.1] helo=dalek) by mx.treblig.org with esmtp (Exim 4.98.2) (envelope-from ) id 1vgY3s-0000000F7wG-0YkN; Fri, 16 Jan 2026 00:51:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=Content-Type:MIME-Version:Message-ID:Date:Subject:From:From :Subject; bh=spUoSBLxVK/LW2IDytQ4t3d9mqfWBv3rna67/EINeR8=; b=XyDaLURKCHM1x1hb 6cRA2zfs+ZNObGk85Le7rYxnRvK5zS6oi1BPp0LNfD71Fpe1ZDyacIbDAWzAnMViCoyQcxQL6xL1b UnP/rs5qX/Tjggyks9AHkovz6+A1yihYVJdUELqZecoNcZm5CgHf2t4zx9clR39mP6qv1EXmjhv0Q 8Ue7ESyCm6yR5ATRsoSHw3/1b/QI3BSMGj6HI9/YBUw2cMVBbAoHGrUDGfwGvriQjEQETRpDdneNp lf4GH4xFF8PoFPT/G6Z0JyaItVdSy2ifd08G+Ae0r48BgqepV9IKyKtdohYyw/oFPPzDGkyZGS3x4 ZHXvrvZf61X9krrv7w==; From: dave@treblig.org To: dave@treblig.org, armbru@redhat.com, berrange@redhat.com, marcandre.lureau@redhat.com Cc: qemu-devel@nongnu.org Subject: [PATCH v2 2/4] hmp*hx: Move info docs Date: Fri, 16 Jan 2026 00:50:46 +0000 Message-ID: <20260116005050.376616-3-dave@treblig.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260116005050.376616-1-dave@treblig.org> References: <20260116005050.376616-1-dave@treblig.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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 (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=2a00:1098:5b::1; envelope-from=dave@treblig.org; helo=mx.treblig.org 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @treblig.org) X-ZM-MESSAGEID: 1768524723184158500 From: "Dr. David Alan Gilbert" Move the docs for the info subcommand from the separate hx into the top level file next to the 'info' command itself. That makes every command in the top level file have a RST section. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Markus Armbruster --- hmp-commands-info.hx | 9 +-------- hmp-commands.hx | 27 +++++++++++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/hmp-commands-info.hx b/hmp-commands-info.hx index 74c741f80e..964eed004c 100644 --- a/hmp-commands-info.hx +++ b/hmp-commands-info.hx @@ -8,14 +8,7 @@ HXCOMM HXCOMM In this file, generally SRST fragments should have two extra HXCOMM spaces of indent, so that the documentation list item for "info foo" HXCOMM appears inside the documentation list item for the top level -HXCOMM "info" documentation entry. The exception is the first SRST -HXCOMM fragment that defines that top level entry. - -SRST -``info`` *subcommand* - Show various information about the system state. - -ERST +HXCOMM "info" documentation entry. =20 { .name =3D "version", diff --git a/hmp-commands.hx b/hmp-commands.hx index 5cc4788f12..f4a6eeda93 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1814,16 +1814,6 @@ SRST command. ERST =20 - { - .name =3D "info", - .args_type =3D "item:s?", - .params =3D "[subcommand]", - .help =3D "show various information about the system state", - .cmd =3D hmp_info_help, - .sub_table =3D hmp_info_cmds, - .flags =3D "p", - }, - #if defined(CONFIG_FDT) { .name =3D "dumpdtb", @@ -1867,3 +1857,20 @@ SRST List event channels in the guest ERST #endif + +HXCOMM *** MUST BE LAST ENTRY ** + { + .name =3D "info", + .args_type =3D "item:s?", + .params =3D "[subcommand]", + .help =3D "show various information about the system state", + .cmd =3D hmp_info_help, + .sub_table =3D hmp_info_cmds, + .flags =3D "p", + }, + +SRST +``info`` *subcommand* + Show various information about the system state. +ERST +HXCOMM *** MUST BE LAST ENTRY ** --=20 2.52.0