All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.10] boot-serial-test: prefer tcg accelerator
@ 2017-08-16  8:26 Cornelia Huck
  2017-08-16  8:28 ` Laurent Vivier
                   ` (3 more replies)
  0 siblings, 4 replies; 38+ messages in thread
From: Cornelia Huck @ 2017-08-16  8:26 UTC (permalink / raw)
  To: qemu-devel
  Cc: richard.henderson, thuth, pbonzini, mst, lvivier, Cornelia Huck

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.

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);
-- 
2.13.5

^ permalink raw reply related	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2017-08-30 14:19 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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.