qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Alexander Bulekov <alxndr@bu.edu>, qemu-devel@nongnu.org
Cc: Laurent Vivier <lvivier@redhat.com>,
	Thomas Huth <thuth@redhat.com>,
	f4bug@amsat.org
Subject: Re: [PATCH] qtest: add a reproducer for LP#1878642
Date: Mon, 2 Nov 2020 19:23:10 +0100	[thread overview]
Message-ID: <7825a2e7-dd79-c4ea-c3f7-673743619d89@redhat.com> (raw)
In-Reply-To: <20201102163336.115444-1-alxndr@bu.edu>

On 02/11/20 17:33, Alexander Bulekov wrote:
> https://bugs.launchpad.net/qemu/+bug/1878642
> 
> Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
> Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
> ---
> 
> Based-on: <20200717151705.18611-1-f4bug@amsat.org>
> 
> The added testcase will fail, unless this ^^^ patch is applied.
> 
>  tests/qtest/fuzz-test.c | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/tests/qtest/fuzz-test.c b/tests/qtest/fuzz-test.c
> index 2f38bb1ec2..9cb4c42bde 100644
> --- a/tests/qtest/fuzz-test.c
> +++ b/tests/qtest/fuzz-test.c
> @@ -34,6 +34,19 @@ static void test_lp1878263_megasas_zero_iov_cnt(void)
>      qtest_quit(s);
>  }
>  
> +static void test_lp1878642_pci_bus_get_irq_level_assert(void)
> +{
> +    QTestState *s;
> +
> +    s = qtest_init("-M pc-q35-5.0 "
> +                   "-nographic -monitor none -serial none "
> +                   "-d guest_errors -trace pci*");
> +
> +    qtest_outl(s, 0xcf8, 0x8400f841);
> +    qtest_outl(s, 0xcfc, 0xebed205d);
> +    qtest_outl(s, 0x5d02, 0xebed205d);
> +}
> +
>  int main(int argc, char **argv)
>  {
>      const char *arch = qtest_get_arch();
> @@ -43,6 +56,8 @@ int main(int argc, char **argv)
>      if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) {
>          qtest_add_func("fuzz/test_lp1878263_megasas_zero_iov_cnt",
>                         test_lp1878263_megasas_zero_iov_cnt);
> +        qtest_add_func("fuzz/test_lp1878642_pci_bus_get_irq_level_assert",
> +                       test_lp1878642_pci_bus_get_irq_level_assert);
>      }
>  
>      return g_test_run();
> 

Queued, thanks.

Paolo



  reply	other threads:[~2020-11-02 18:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-02 16:33 [PATCH] qtest: add a reproducer for LP#1878642 Alexander Bulekov
2020-11-02 18:23 ` Paolo Bonzini [this message]
2020-11-02 18:58   ` Philippe Mathieu-Daudé
2020-11-09 14:37     ` Philippe Mathieu-Daudé
2021-02-16 13:25 ` Peter Maydell
2021-02-16 15:00   ` Alexander Bulekov
2021-02-16 17:31     ` Philippe Mathieu-Daudé
2021-02-16 17:48       ` Peter Maydell

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=7825a2e7-dd79-c4ea-c3f7-673743619d89@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=alxndr@bu.edu \
    --cc=f4bug@amsat.org \
    --cc=lvivier@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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;
as well as URLs for NNTP newsgroup(s).