From patchwork Tue Oct 4 11:30:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 678035 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3spH0n17Ntz9s5w for ; Tue, 4 Oct 2016 22:35:53 +1100 (AEDT) Received: from localhost ([::1]:41629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brO0j-0003aq-Pk for incoming@patchwork.ozlabs.org; Tue, 04 Oct 2016 07:35:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brNw5-000058-Eq for qemu-devel@nongnu.org; Tue, 04 Oct 2016 07:31:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brNw3-0007sA-Gv for qemu-devel@nongnu.org; Tue, 04 Oct 2016 07:31:00 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brNw3-0007rh-5y for qemu-devel@nongnu.org; Tue, 04 Oct 2016 07:30:59 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9791920278; Tue, 4 Oct 2016 11:30:58 +0000 (UTC) Received: from thinkpad.redhat.com (ovpn-112-35.ams2.redhat.com [10.36.112.35]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u94BUnZw015059; Tue, 4 Oct 2016 07:30:55 -0400 From: Laurent Vivier To: Paolo Bonzini Date: Tue, 4 Oct 2016 13:30:48 +0200 Message-Id: <1475580648-6470-3-git-send-email-lvivier@redhat.com> In-Reply-To: <1475580648-6470-1-git-send-email-lvivier@redhat.com> References: <1475580648-6470-1-git-send-email-lvivier@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 04 Oct 2016 11:30:58 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH 2/2] tests: use accel=best instead of accel=kvm:tcg X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Peter Maydell , Thomas Huth , Stefano Stabellini , "Michael S . Tsirkin" , qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" This avoids to have logs polluted by "kvm accelerator not found". Signed-off-by: Laurent Vivier Acked-by: Michael S. Tsirkin --- tests/bios-tables-test.c | 2 +- tests/postcopy-test.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 7e27ea9..497dd56 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -716,7 +716,7 @@ static void test_acpi_one(const char *params, test_data *data) "-net none -display none %s " "-drive id=hd0,if=none,file=%s,format=raw " "-device ide-hd,drive=hd0 ", - data->machine, "kvm:tcg", + data->machine, "best", params ? params : "", disk); qtest_start(args); diff --git a/tests/postcopy-test.c b/tests/postcopy-test.c index 41ed1a9..d549d5e 100644 --- a/tests/postcopy-test.c +++ b/tests/postcopy-test.c @@ -368,12 +368,12 @@ static void test_migrate(void) if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) { init_bootfile_x86(bootpath); - cmd_src = g_strdup_printf("-machine accel=kvm:tcg -m 150M" + cmd_src = g_strdup_printf("-machine accel=best -m 150M" " -name pcsource,debug-threads=on" " -serial file:%s/src_serial" " -drive file=%s,format=raw", tmpfs, bootpath); - cmd_dst = g_strdup_printf("-machine accel=kvm:tcg -m 150M" + cmd_dst = g_strdup_printf("-machine accel=best -m 150M" " -name pcdest,debug-threads=on" " -serial file:%s/dest_serial" " -drive file=%s,format=raw" @@ -381,12 +381,12 @@ static void test_migrate(void) tmpfs, bootpath, uri); } else if (strcmp(arch, "ppc64") == 0) { init_bootfile_ppc(bootpath); - cmd_src = g_strdup_printf("-machine accel=kvm:tcg -m 256M" + cmd_src = g_strdup_printf("-machine accel=best -m 256M" " -name pcsource,debug-threads=on" " -serial file:%s/src_serial" " -drive file=%s,if=pflash,format=raw", tmpfs, bootpath); - cmd_dst = g_strdup_printf("-machine accel=kvm:tcg -m 256M" + cmd_dst = g_strdup_printf("-machine accel=best -m 256M" " -name pcdest,debug-threads=on" " -serial file:%s/dest_serial" " -incoming %s",