From nobody Tue Feb 10 14:44:00 2026 Delivered-To: importer@patchew.org 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; 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=1585458197; cv=none; d=zohomail.com; s=zohoarc; b=Z+x0BBuMVIL80Smz7BHXN9yjbPVrZEmaYCSD4krDoL89P5A6yJuafN1Os5jPB+slmgMTS4mXrXle7gbFGnFiAQd/32HIESe1AYM0TbRtUfJJ8E5ypSh+y7c+sAtuFRAUhh0rXdcj/Sp1730uCOtetqw5OxFtzT+5qZSAFTrofl0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1585458197; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=f4216cfeGsP8p3o3KvHUYLqSHKwKRVV1kvj3GsAMB2I=; b=LYCEVOb/12F2y+QKlaPX72VbgZy9UHfp7pIhwxUEpJic76u1rYIOga0WA1w+2DWOrdmDyr0md3yPV/WMi7+YdxMrzz5dwdvL2qGzH63mnwd6ABkkZanQ0luHx0SdncSqgVb90yrf+A9wVfAB7n5FC9X/OmFswdf+nIfvySZIJ3M= 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 1585458197086726.5446453938697; Sat, 28 Mar 2020 22:03:17 -0700 (PDT) Received: from localhost ([::1]:34308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIQ6N-0000Vs-LV for importer@patchew.org; Sun, 29 Mar 2020 01:03:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41680) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIQ5P-00086Y-42 for qemu-devel@nongnu.org; Sun, 29 Mar 2020 01:02:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIQ5O-0005Ww-4K for qemu-devel@nongnu.org; Sun, 29 Mar 2020 01:02:15 -0400 Received: from cmccmta2.chinamobile.com ([221.176.66.80]:10348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jIQ5N-000597-Gt for qemu-devel@nongnu.org; Sun, 29 Mar 2020 01:02:14 -0400 Received: from spf.mail.chinamobile.com (unknown[172.16.121.11]) by rmmx-syy-dmz-app06-12006 (RichMail) with SMTP id 2ee65e802bb9ab4-f3939; Sun, 29 Mar 2020 13:01:47 +0800 (CST) Received: from maozy-host.localdomain (unknown[117.136.46.37]) by rmsmtp-syy-appsvr06-12006 (RichMail) with SMTP id 2ee65e802baee64-267d2; Sun, 29 Mar 2020 13:01:46 +0800 (CST) X-RM-TRANSID: 2ee65e802bb9ab4-f3939 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 X-RM-TRANSID: 2ee65e802baee64-267d2 From: Mao Zhongyi To: qemu-devel@nongnu.org Subject: [PATCH 3/3] migration: move the units of migrate parameters from milliseconds to ms. Date: Sun, 29 Mar 2020 13:01:31 +0800 Message-Id: <20200329050131.26864-4-maozhongyi@cmss.chinamobile.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200329050131.26864-1-maozhongyi@cmss.chinamobile.com> References: <20200329050131.26864-1-maozhongyi@cmss.chinamobile.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 221.176.66.80 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: dgilbert@redhat.com, Mao Zhongyi , quintela@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Mao Zhongyi Suggested-by: Dr. David Alan Gilbert Reviewed-by: Juan Quintela --- migration/migration.c | 2 +- monitor/hmp-cmds.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/migration/migration.c b/migration/migration.c index e0223f3b15..d014da388a 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1212,7 +1212,7 @@ static bool migrate_params_check(MigrationParameters = *params, Error **errp) (params->downtime_limit > MAX_MIGRATE_DOWNTIME)) { error_setg(errp, QERR_INVALID_PARAMETER_VALUE, "downtime_limit", - "an integer in the range of 0 to 2000000 milliseconds"); + "an integer in the range of 0 to 2000000 ms"); return false; } =20 diff --git a/monitor/hmp-cmds.c b/monitor/hmp-cmds.c index 63097ddcc8..c5de8af1ee 100644 --- a/monitor/hmp-cmds.c +++ b/monitor/hmp-cmds.c @@ -231,18 +231,18 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdic= t) monitor_printf(mon, "\n"); } =20 - monitor_printf(mon, "total time: %" PRIu64 " milliseconds\n", + monitor_printf(mon, "total time: %" PRIu64 " ms\n", info->total_time); if (info->has_expected_downtime) { - monitor_printf(mon, "expected downtime: %" PRIu64 " millisecon= ds\n", + monitor_printf(mon, "expected downtime: %" PRIu64 " ms\n", info->expected_downtime); } if (info->has_downtime) { - monitor_printf(mon, "downtime: %" PRIu64 " milliseconds\n", + monitor_printf(mon, "downtime: %" PRIu64 " ms\n", info->downtime); } if (info->has_setup_time) { - monitor_printf(mon, "setup: %" PRIu64 " milliseconds\n", + monitor_printf(mon, "setup: %" PRIu64 " ms\n", info->setup_time); } } --=20 2.17.1