All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Cornelia Huck <cohuck@redhat.com>, qemu-devel@nongnu.org
Cc: lvivier@redhat.com, thuth@redhat.com, mst@redhat.com,
	richard.henderson@linaro.org
Subject: Re: [Qemu-devel] [PATCH for-2.10] boot-serial-test: prefer tcg accelerator
Date: Wed, 16 Aug 2017 12:51:34 +0200	[thread overview]
Message-ID: <223c4e3c-097f-5a91-37fa-df4bfb427d60@redhat.com> (raw)
In-Reply-To: <20170816082650.21880-1-cohuck@redhat.com>

On 16/08/2017 10:26, Cornelia Huck wrote:
> Prefer to use the tcg accelarator if it is available: This is our only
> real smoke test for tcg, and fast enough to use it for that.

I'm not sure this is required for 2.10.  Yes, it means the coverage from
"make check" is worse, but that's it.

Paolo

> Fixes: 480bc11e6 ("boot-serial-test: fallback to kvm accelerator")
> Reported-by: Richard Henderson <richard.henderson@linaro.org>
> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
> ---
>  tests/boot-serial-test.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c
> index a8ca877168..b95c5e74ea 100644
> --- a/tests/boot-serial-test.c
> +++ b/tests/boot-serial-test.c
> @@ -78,7 +78,11 @@ static void test_machine(const void *data)
>      fd = mkstemp(tmpname);
>      g_assert(fd != -1);
>  
> -    args = g_strdup_printf("-M %s,accel=kvm:tcg "
> +    /*
> +     * Make sure that this test uses tcg if available: It is used as a
> +     * fast-enough smoketest for that.
> +     */
> +    args = g_strdup_printf("-M %s,accel=tcg:kvm "
>                             "-chardev file,id=serial0,path=%s "
>                             "-no-shutdown -serial chardev:serial0 %s",
>                             test->machine, tmpname, test->extra);
> 

  parent reply	other threads:[~2017-08-16 10:51 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-16  8:26 [Qemu-devel] [PATCH for-2.10] boot-serial-test: prefer tcg accelerator Cornelia Huck
2017-08-16  8:28 ` Laurent Vivier
2017-08-16 10:25 ` Thomas Huth
2017-08-16 10:51 ` Paolo Bonzini [this message]
2017-08-16 11:18   ` Peter Maydell
2017-08-16 11:46     ` Cornelia Huck
2017-08-22  1:09     ` David Gibson
2017-08-22  5:40       ` Thomas Huth
2017-08-22  8:47       ` Peter Maydell
2017-08-22  8:49         ` Laurent Vivier
2017-08-22  9:35           ` Peter Maydell
2017-08-22 11:20             ` David Gibson
2017-08-22 11:48               ` Cornelia Huck
2017-08-23  0:29                 ` David Gibson
2017-08-23  7:16                   ` Cornelia Huck
2017-08-23  7:49                     ` [Qemu-devel] make check speed (was: Re: [PATCH for-2.10] boot-serial-test: prefer tcg accelerator) Thomas Huth
2017-08-23  8:01                       ` [Qemu-devel] make check speed Paolo Bonzini
2017-08-23  8:35                         ` Thomas Huth
2017-08-23  8:52                           ` Fam Zheng
2017-08-23  9:09                             ` Fam Zheng
2017-08-23  9:33                           ` Paolo Bonzini
2017-08-24  3:01                             ` David Gibson
2017-08-23 11:51                           ` Lukáš Doktor
2017-08-23 12:01                             ` Thomas Huth
2017-08-23 12:13                               ` Lukáš Doktor
2017-08-24 13:52                                 ` Cleber Rosa
2017-08-23 12:35                             ` Thomas Huth
2017-08-23 12:52                               ` Lukáš Doktor
2017-08-23 12:20                           ` Cornelia Huck
2017-08-24  5:27                             ` Thomas Huth
2017-08-30  8:59                               ` Cornelia Huck
2017-08-30  9:13                                 ` Thomas Huth
2017-08-30 11:52                                   ` Markus Armbruster
2017-08-30 13:56                                     ` Thomas Huth
2017-08-30 14:19                                       ` Markus Armbruster
2017-08-29 16:34                             ` Thomas Huth
2017-08-29 17:13                               ` Thomas Huth
2017-08-16 14:03 ` [Qemu-devel] [PATCH for-2.10] boot-serial-test: prefer tcg accelerator Richard Henderson

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=223c4e3c-097f-5a91-37fa-df4bfb427d60@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=cohuck@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.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 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.