Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EED88CD342F for ; Mon, 4 May 2026 17:50:56 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wJxQV-0004eR-UT; Mon, 04 May 2026 13:49:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1wJxQR-0004db-LZ for qemu-devel@nongnu.org; Mon, 04 May 2026 13:49:47 -0400 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 1wJxQK-0000cA-Cb for qemu-devel@nongnu.org; Mon, 04 May 2026 13:49:42 -0400 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=k5jjrJB48T95317K0NlZG9nP6CIAQ+99l2qSbxah+dI=; b=QkxuULyDCiFYyTK6 jyk+EPqOuj8aFOjop7Vy8OulR7DYHBgsGXoRRz3GnW4kOeXYtlc1tCEfNiMaqWn3MVpKVvPpMhyTZ LFzImQ/veQOScQLPWxxv8Zfdmiga2BzZrEpAn/jo+VR+5MoGFMLKejfy43QDnhqRlWFR7gWSrW4LD TWny52tYPwdLjUPZlti0RVLajrpLEsSi1absFFN64fBKI/NDuZXIrVs+tuSW/uvYz7O+ka3qPNKAH LXcdCpIQLVyv+pZXmY01e/+1XQbkgUXr4Tq6sVYh45FKapu3K08xjpBaIfWNjVwUXw1E3MgZcJ/3x maSWJyulGc37HKP4bA==; Received: from localhost ([127.0.0.1] helo=dalek) by mx.treblig.org with esmtp (Exim 4.98.2) (envelope-from ) id 1wJxQ7-00000000ZQZ-3rUm; Mon, 04 May 2026 17:49:27 +0000 From: dave@treblig.org To: qemu-devel@nongnu.org, armbru@redhat.com Cc: AlanoSong@163.com, "Dr. David Alan Gilbert" , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Subject: [PATCH 1/4] hmp*hx: Move info docs Date: Mon, 4 May 2026 18:49:11 +0100 Message-ID: <20260504174914.122607-2-dave@treblig.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260504174914.122607-1-dave@treblig.org> References: <20260504174914.122607-1-dave@treblig.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org 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é 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. { .name = "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 - { - .name = "info", - .args_type = "item:s?", - .params = "[subcommand]", - .help = "show various information about the system state", - .cmd = hmp_info_help, - .sub_table = hmp_info_cmds, - .flags = "p", - }, - #if defined(CONFIG_FDT) { .name = "dumpdtb", @@ -1867,3 +1857,20 @@ SRST List event channels in the guest ERST #endif + +HXCOMM *** MUST BE LAST ENTRY ** + { + .name = "info", + .args_type = "item:s?", + .params = "[subcommand]", + .help = "show various information about the system state", + .cmd = hmp_info_help, + .sub_table = hmp_info_cmds, + .flags = "p", + }, + +SRST +``info`` *subcommand* + Show various information about the system state. +ERST +HXCOMM *** MUST BE LAST ENTRY ** -- 2.54.0