From nobody Fri May 3 03:39:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1505914879694209.93304305304082; Wed, 20 Sep 2017 06:41:19 -0700 (PDT) Received: from localhost ([::1]:48154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dufFd-0005lP-FE for importer@patchew.org; Wed, 20 Sep 2017 09:41:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dues1-0003MY-SL for qemu-devel@nongnu.org; Wed, 20 Sep 2017 09:16:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duert-0001JJ-LW for qemu-devel@nongnu.org; Wed, 20 Sep 2017 09:16:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47742) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1duert-0001IJ-68 for qemu-devel@nongnu.org; Wed, 20 Sep 2017 09:16:45 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A0C5A25C29 for ; Wed, 20 Sep 2017 10:50:27 +0000 (UTC) Received: from secure.laptop (ovpn-117-193.ams2.redhat.com [10.36.117.193]) by smtp.corp.redhat.com (Postfix) with ESMTP id 096D260BE6; Wed, 20 Sep 2017 10:50:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A0C5A25C29 Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx06.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=quintela@redhat.com From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 20 Sep 2017 12:50:26 +0200 Message-Id: <20170920105026.1458-1-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Wed, 20 Sep 2017 10:50:27 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH] tests: Move postcopy migration test to migrate-set-parameters 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: lvivier@redhat.com, dgilbert@redhat.com, peterx@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" migrate_set_speed and migrate_set_dowtime are deprecated since long ago. Signed-off-by: Juan Quintela --- tests/postcopy-test.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/postcopy-test.c b/tests/postcopy-test.c index 8142f2ab90..991b954a83 100644 --- a/tests/postcopy-test.c +++ b/tests/postcopy-test.c @@ -430,14 +430,14 @@ static void test_migrate(void) * machine, so also set the downtime. */ global_qtest =3D from; - rsp =3D qmp("{ 'execute': 'migrate_set_speed'," - "'arguments': { 'value': 100000000 } }"); + rsp =3D qmp("{ 'execute': 'migrate-set-parameters'," + "'arguments': { 'max-bandwidth': 100000000 } }"); g_assert(qdict_haskey(rsp, "return")); QDECREF(rsp); =20 /* 1ms downtime - it should never finish precopy */ - rsp =3D qmp("{ 'execute': 'migrate_set_downtime'," - "'arguments': { 'value': 0.001 } }"); + rsp =3D qmp("{ 'execute': 'migrate-set-parameters'," + "'arguments': { 'downtime-limit': 1 } }"); g_assert(qdict_haskey(rsp, "return")); QDECREF(rsp); =20 --=20 2.13.5