From nobody Sun Feb 8 17:41:41 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=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1663063941; cv=none; d=zohomail.com; s=zohoarc; b=W4BntA8K5pa+mHihm52PzEhrprQJAmrCsjG48bPVD4n5AajHejC/H3pW0fbP7TZ0uGZTKoGb3kvqQ2GBDu7tUybYM55Q7/73ryifoMGaAkYz+r6DjJsLmRMz/gDbb5SboWNQXMAj/jMyyk57pfzzQC/7elXxHcjmjwjrxuoliPY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663063941; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=bGI0+ilnDQLjyddWzSMLvKpl9AwuAItOQ2fV85MCokU=; b=h/PIFJxKidscpeP6mhBxbL2YLm6FPwazlCmXtzIybYxNcxDGxYsXegi0uhSw3aqO9hXO2rPDiKaytEgmUmNanj6IcPjQ9pLKc382G/ku7v/UZvnVOnqNblT01lQsAPxxir7l2BNt787Uk5DbyO4ndQNWd0lPpoWQ+L9sUaH2iO4= 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 1663063941973408.2908471386588; Tue, 13 Sep 2022 03:12:21 -0700 (PDT) Received: from localhost ([::1]:41780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oY2tv-0006fM-H5 for importer@patchew.org; Tue, 13 Sep 2022 06:12:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY2sU-0005wH-Iv for qemu-devel@nongnu.org; Tue, 13 Sep 2022 06:10:50 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:30469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oY2sS-0002lp-OQ for qemu-devel@nongnu.org; Tue, 13 Sep 2022 06:10:50 -0400 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-641-j4OU1qaRPc6vr36qyIMWhg-1; Tue, 13 Sep 2022 06:10:46 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7EBC31010369 for ; Tue, 13 Sep 2022 10:10:46 +0000 (UTC) Received: from dgilbert-t580.localhost (unknown [10.33.36.179]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1487540C6EC2; Tue, 13 Sep 2022 10:10:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663063848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bGI0+ilnDQLjyddWzSMLvKpl9AwuAItOQ2fV85MCokU=; b=O5dXEI9q4Thad0AkboYLNO8oqbduL458MtR6NwxjavD4FXiPUYyHxqp+xMpDg3t2XD0Ic7 cv+2qioVl4j9bLKluyHWLuG3JM5FsnMTdE6yktTctzkk0lt6yfqBpAOzA8DiRwv6FctY2b h+3x06C7108P2W57mCTDD08adXnc9Gc= X-MC-Unique: j4OU1qaRPc6vr36qyIMWhg-1 From: "Dr. David Alan Gilbert (git)" To: qemu-devel@nongnu.org, armbru@redhat.com Subject: [PATCH] hmp: Fix ordering of text Date: Tue, 13 Sep 2022 11:10:41 +0100 Message-Id: <20220913101041.99869-1-dgilbert@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 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=170.10.129.124; envelope-from=dgilbert@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1663063942200100001 Content-Type: text/plain; charset="utf-8" From: "Dr. David Alan Gilbert" Fix the ordering of the help text so it's always after the commands being defined. A few had got out of order. Keep 'info' at the end. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Daniel P. Berrang=C3=A9 --- hmp-commands.hx | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/hmp-commands.hx b/hmp-commands.hx index 182e639d14..8ab8000acd 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1742,23 +1742,6 @@ SRST *icount* for the reference may be observed with ``info replay`` 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", - }, - -SRST -``calc_dirty_rate`` *second* - Start a round of dirty rate measurement with the period specified in *se= cond*. - The result of the dirty rate measurement may be observed with ``info - dirty_rate`` command. -ERST - { .name =3D "calc_dirty_rate", .args_type =3D "dirty_ring:-r,dirty_bitmap:-b,second:l,sample_pag= es_per_GB:l?", @@ -1770,10 +1753,10 @@ ERST }, =20 SRST -``set_vcpu_dirty_limit`` - Set dirty page rate limit on virtual CPU, the information about all the - virtual CPU dirty limit status can be observed with ``info vcpu_dirty_li= mit`` - command. +``calc_dirty_rate`` *second* + Start a round of dirty rate measurement with the period specified in *se= cond*. + The result of the dirty rate measurement may be observed with ``info + dirty_rate`` command. ERST =20 { @@ -1786,8 +1769,8 @@ ERST }, =20 SRST -``cancel_vcpu_dirty_limit`` - Cancel dirty page rate limit on virtual CPU, the information about all t= he +``set_vcpu_dirty_limit`` + Set dirty page rate limit on virtual CPU, the information about all the virtual CPU dirty limit status can be observed with ``info vcpu_dirty_li= mit`` command. ERST @@ -1800,3 +1783,20 @@ ERST "\n\t\t\t\t\t limit on a specified virtual cpu", .cmd =3D hmp_cancel_vcpu_dirty_limit, }, + +SRST +``cancel_vcpu_dirty_limit`` + Cancel dirty page rate limit on virtual CPU, the information about all t= he + virtual CPU dirty limit status can be observed with ``info vcpu_dirty_li= mit`` + command. +ERST + + { + .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", + }, --=20 2.37.3