All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: huangy81@chinatelecom.cn
Cc: "Eduardo Habkost" <eduardo@habkost.net>,
	"David Hildenbrand" <david@redhat.com>,
	"Juan Quintela" <quintela@redhat.com>,
	"Richard Henderson" <richard.henderson@linaro.org>,
	qemu-devel <qemu-devel@nongnu.org>,
	"Peter Xu" <peterx@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [PATCH v17 8/8] tests/qtest/qmp-cmd-test: Ignore query-vcpu-dirty-limit test
Date: Thu, 03 Mar 2022 06:58:34 +0100	[thread overview]
Message-ID: <87o82nefw5.fsf@pond.sub.org> (raw)
In-Reply-To: <324b04870910c6fc489d0b1e4fe4e098737ae8c4.1646243447.git.huangy81@chinatelecom.cn> (huangy's message of "Thu, 3 Mar 2022 01:55:14 +0800")

huangy81@chinatelecom.cn writes:

> From: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
>
> query-vcpu-dirty-limit success depends on enabling dirty
> page rate limit, so just add it to the list of skipped
> command to ensure qmp-cmd-test run successfully.
>
> Signed-off-by: Hyman Huang(黄勇) <huangy81@chinatelecom.cn>
> Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> ---
>  tests/qtest/qmp-cmd-test.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/tests/qtest/qmp-cmd-test.c b/tests/qtest/qmp-cmd-test.c
> index 7f103ea..4b216a0 100644
> --- a/tests/qtest/qmp-cmd-test.c
> +++ b/tests/qtest/qmp-cmd-test.c
> @@ -110,6 +110,8 @@ static bool query_is_ignored(const char *cmd)
>          "query-sev-capabilities",
>          "query-sgx",
>          "query-sgx-capabilities",
> +        /* Success depends on enabling dirty page rate limit */
> +        "query-vcpu-dirty-limit",
>          NULL
>      };
>      int i;

I think you need to squash this into the patch that adds the command, so
"make check" passes after each commit.

As far as I can tell, there is no other test coverage.  That gap needs
to be plugged.



  reply	other threads:[~2022-03-03  5:59 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 17:55 [PATCH v17 0/8] support dirty restraint on vCPU huangy81
     [not found] ` <cover.1646243447.git.huangy81@chinatelecom.cn>
2022-03-02 17:55   ` [PATCH v17 1/8] accel/kvm/kvm-all: Refactor per-vcpu dirty ring reaping huangy81
2022-03-02 17:55   ` [PATCH v17 2/8] cpus: Introduce cpu_list_generation_id huangy81
2022-03-02 17:55   ` [PATCH v17 3/8] migration/dirtyrate: Refactor dirty page rate calculation huangy81
2022-03-02 17:55   ` [PATCH v17 4/8] softmmu/dirtylimit: Implement vCPU dirtyrate calculation periodically huangy81
2022-03-02 17:55   ` [PATCH v17 5/8] accel/kvm/kvm-all: Introduce kvm_dirty_ring_size function huangy81
2022-03-02 17:55   ` [PATCH v17 6/8] softmmu/dirtylimit: Implement virtual CPU throttle huangy81
2022-05-16 17:13     ` manish.mishra
2022-05-17  8:19       ` Hyman Huang
2022-05-23 16:44         ` manish.mishra
2022-05-25 15:38           ` Hyman Huang
2022-05-25 15:55             ` Peter Xu
2022-05-26  2:51               ` Jason Wang
2022-06-01 16:15                 ` manish.mishra
2022-06-13  9:58                 ` manish.mishra
2022-06-13 14:33                   ` Peter Xu
2022-06-13 15:33                     ` manish.mishra
2022-06-13 15:58                       ` Peter Xu
2022-03-02 17:55   ` [PATCH v17 7/8] softmmu/dirtylimit: Implement dirty page rate limit huangy81
2022-03-02 17:55   ` [PATCH v17 8/8] tests/qtest/qmp-cmd-test: Ignore query-vcpu-dirty-limit test huangy81
2022-03-03  5:58     ` Markus Armbruster [this message]
2022-03-03  6:11       ` Hyman Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o82nefw5.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=david@redhat.com \
    --cc=eduardo@habkost.net \
    --cc=huangy81@chinatelecom.cn \
    --cc=pbonzini@redhat.com \
    --cc=peterx@redhat.com \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.