From nobody Mon Feb 9 19:07:49 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=1768442735; cv=none; d=zohomail.com; s=zohoarc; b=nyeJh5ScOAYaPndmCsPib04lz7ayJA5iP6SA5UKeFtGSXPzDzXAJVNo0LxPfyRF/5VMHWnYnwna+nRSZkUHpxs9PBoAKyqnjpt4OUFUCRFdMFIJBJf2pLzVPeTlqXWLTJxVPwxFhY42uyLYFtylLmFXSXOEp72cxGj+d3HhvJLE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768442735; h=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=UF/C1/YyJL2Raz9w8Jk2ZQlJ5lWkUSxLDIWmN53lJCM=; b=HDLAutlC//CKtgIbsCUXhmCQ74ooW7/+qZvHz5kmKTR00k+Ky+cVzvNCwINERLUlRIDoXhnEaAjHsj/2hFSCepGkn3n/otAEb88qB+iiYsJji0RJ9fHlnRIWX+My7K+QiWDmpKE2doSU5GBWkgei6VtuVuv0QLGMj1OeI4gCDxg= 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 1768442735662699.2352751067228; Wed, 14 Jan 2026 18:05:35 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vgCj1-00018s-1j; Wed, 14 Jan 2026 21:04:39 -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 1vgCiz-000180-Ca for qemu-devel@nongnu.org; Wed, 14 Jan 2026 21:04:37 -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 1vgCiw-0001hn-F2 for qemu-devel@nongnu.org; Wed, 14 Jan 2026 21:04:37 -0500 Received: from localhost ([127.0.0.1] helo=dalek) by mx.treblig.org with esmtp (Exim 4.98.2) (envelope-from ) id 1vgCit-0000000Eq8W-0H9W; Thu, 15 Jan 2026 02:04:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=UF/C1/YyJL2Raz9w8Jk2ZQlJ5lWkUSxLDIWmN53lJCM=; b=TVkReYm9K0faAMSh 2az4tEFYsP4aL92qLJ5mEna7PDKLPDKySFPmp0vkAVzMyWDXSF5MAWoNHs0HZOvfn8gNjp+Jptbyt /uueAVCyJQ20yMsZfI39M/a8vkLOiYL8ghga+2PuDy4SvjymWiwbgmrpBq311Dj3ssfB0CU5fDCLe ZY/C+vH55oeLcunMhhfi3UVzAJoVU+4ToNcE/2A3IFm7EskPkThlqtMeF7TDy9kfKT73AoK0xL11c VDhZ0whs6xTYaeeXZY4S31V2IupI0Nqonx0iMT10ZamKuUfCInw2omH9ZhqNzl8DvHCrAFjLQvvk+ F7GUWREaIcxNyLJbBQ==; From: dave@treblig.org To: dave@treblig.org, armbru@redhat.com, berrange@redhat.com Cc: qemu-devel@nongnu.org Subject: [PATCH 2/4] hmp*hx: Move info docs Date: Thu, 15 Jan 2026 02:04:21 +0000 Message-ID: <20260115020423.722069-3-dave@treblig.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260115020423.722069-1-dave@treblig.org> References: <20260115020423.722069-1-dave@treblig.org> 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 (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: 1768442737886158500 Content-Type: text/plain; charset="utf-8" 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 --- 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