From: Paolo Bonzini <pbonzini@redhat.com>
To: Cathy Avery <cavery@redhat.com>,
linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Subject: Re: [PATCH kvm-unit-tests] svm: Fix nmi hlt test to fail test correctly
Date: Mon, 4 May 2020 18:35:53 +0200 [thread overview]
Message-ID: <811b4acf-1356-1b82-edf3-29e73d2ed9d3@redhat.com> (raw)
In-Reply-To: <20200428184100.5426-1-cavery@redhat.com>
On 28/04/20 20:41, Cathy Avery wrote:
> The last test does not return vmmcall on fail resulting
> in passing the entire test.
>
> Signed-off-by: Cathy Avery <cavery@redhat.com>
> ---
> x86/svm_tests.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/x86/svm_tests.c b/x86/svm_tests.c
> index 2b84e4d..65008ba 100644
> --- a/x86/svm_tests.c
> +++ b/x86/svm_tests.c
> @@ -1480,6 +1480,7 @@ static void nmi_hlt_test(struct svm_test *test)
> if (!nmi_fired) {
> report(nmi_fired, "intercepted pending NMI not dispatched");
> set_test_stage(test, -1);
> + vmmcall();
> }
>
> set_test_stage(test, 3);
>
Queued, thanks.
Paolo
prev parent reply other threads:[~2020-05-04 16:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 18:41 Cathy Avery
2020-05-04 16:35 ` Paolo Bonzini [this message]
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=811b4acf-1356-1b82-edf3-29e73d2ed9d3@redhat.com \
--to=pbonzini@redhat.com \
--cc=cavery@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®