From nobody Fri May 3 03:01:32 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1616514426; cv=none; d=zohomail.com; s=zohoarc; b=BAAyL1djI8XiTejh0LZ2v8KbPBTP4nfzqkqH9Ujv1ukc6lOWQcpRRlsOc+TB0Lcm8YtMC4irvUG13vjhaZ4vYqYf6VxmkUjWi+dnmM3aeWYBcyhfV8iMNZu3I4c0+L79Vc9pyJm9NTIyFHZWH0E+WyAPlYVzuncEukPsBxfnfiI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616514426; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=BX1h2UBC0xux+il8xKRd60d7ZWXKIVSP6KneonvAVfE=; b=UBy/SDfn1XoiSkiAPZf49yLB12O1VZF16pU2ILbaNc8Rt71klWPfimXUkQRxPePi8olTe5CETDkuerog8TCOV5E73dn6t+Z44++zV8iUr+D5GTCcoqqSOLawOkLQxuC2V/WM7zRGaWdmaokwHnnKVxTRALwKzi5HDHB2hS83OgI= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1616514425526647.6166948077871; Tue, 23 Mar 2021 08:47:05 -0700 (PDT) Received: from localhost ([::1]:42084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOjFI-0005w0-AB for importer@patchew.org; Tue, 23 Mar 2021 11:47:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOjDX-0004wR-4V for qemu-devel@nongnu.org; Tue, 23 Mar 2021 11:45:15 -0400 Received: from prt-mail.chinatelecom.cn ([42.123.76.219]:52380 helo=chinatelecom.cn) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOjDM-0007sp-SZ for qemu-devel@nongnu.org; Tue, 23 Mar 2021 11:45:14 -0400 Received: from clientip-171.223.98.57?logid-930dace71f6841cb8c46f55272279289 (unknown [172.18.0.218]) by chinatelecom.cn (HERMES) with SMTP id AD661280099; Tue, 23 Mar 2021 23:44:43 +0800 (CST) Received: from ([172.18.0.218]) by App0025 with ESMTP id 930dace71f6841cb8c46f55272279289 for qemu-devel@nongnu.org; Tue Mar 23 23:44:51 2021 HMM_SOURCE_IP: 172.18.0.218:28606.507872797 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP X-189-SAVE-TO-SEND: +huangy81@chinatelecom.cn X-Transaction-ID: 930dace71f6841cb8c46f55272279289 X-filter-score: filter<0> X-Real-From: huangy81@chinatelecom.cn X-Receive-IP: 172.18.0.218 X-MEDUSA-Status: 0 From: huangy81@chinatelecom.cn To: qemu-devel Subject: [PATCH] tests/migration: fix parameter of auto-converge migration Date: Tue, 23 Mar 2021 23:43:58 +0800 Message-Id: <0195d34a317ce3cc417b3efd275e30cad35a7618.1616513998.git.huangy81@chinatelecom.cn> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=42.123.76.219; envelope-from=huangy81@chinatelecom.cn; helo=chinatelecom.cn X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Hyman=20Huang=28=E9=BB=84=E5=8B=87=29?= , "Dr. David Alan Gilbert" , Juan Quintela Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" From: Hyman Huang(=E9=BB=84=E5=8B=87) when execute the following test command: $ ./guestperf-batch.py --auto-converge \ --auto-converge-step {percent} ... test aborts and error message be throwed as the following: "Parameter 'x-cpu-throttle-increment' is unexpected" The reason is that 'x-cpu-throttle-increment' has been deprecated and 'cpu-throttle-increment' was introduced Since v2.7. Use the new parameter instead. Signed-off-by: Hyman Huang(=E9=BB=84=E5=8B=87) Reviewed-by: Dr. David Alan Gilbert --- tests/migration/guestperf/engine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/migration/guestperf/engine.py b/tests/migration/guestper= f/engine.py index e399447..6b49aed 100644 --- a/tests/migration/guestperf/engine.py +++ b/tests/migration/guestperf/engine.py @@ -102,7 +102,7 @@ def _migrate_progress(self, vm): info.get("downtime", 0), info.get("expected-downtime", 0), info.get("setup-time", 0), - info.get("x-cpu-throttle-percentage", 0), + info.get("cpu-throttle-percentage", 0), ) def _migrate(self, hardware, scenario, src, dst, connect_uri): @@ -135,7 +135,7 @@ def _migrate(self, hardware, scenario, src, dst, connec= t_uri): "state": True } ]) resp =3D src.command("migrate-set-parameters", - x_cpu_throttle_increment=3Dscenario._auto_c= onverge_step) + cpu_throttle_increment=3Dscenario._auto_con= verge_step) if scenario._post_copy: resp =3D src.command("migrate-set-capabilities", -- 1.8.3.1