Received: from eggs.gnu.org ([2001:4830:134:3::10]:58771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrPX7-0004OK-4r for qemu-devel@nongnu.org; Tue, 25 Jun 2013 05:27:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrPX4-00031K-Fa for qemu-devel@nongnu.org; Tue, 25 Jun 2013 05:27:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrPX4-00030v-68 for qemu-devel@nongnu.org; Tue, 25 Jun 2013 05:27:26 -0400 From: Juan Quintela In-Reply-To: <1372125485-11795-5-git-send-email-mrhines@linux.vnet.ibm.com> (mrhines@linux.vnet.ibm.com's message of "Mon, 24 Jun 2013 21:57:54 -0400") References: <1372125485-11795-1-git-send-email-mrhines@linux.vnet.ibm.com> <1372125485-11795-5-git-send-email-mrhines@linux.vnet.ibm.com> Date: Tue, 25 Jun 2013 11:27:20 +0200 Message-ID: <87zjue1qx3.fsf@elfo.elfo> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v11 04/15] rdma: export throughput w/ MigrationStats QMP Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mrhines@linux.vnet.ibm.com Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org, owasserm@redhat.com, abali@us.ibm.com, mrhines@us.ibm.com, gokul@us.ibm.com, pbonzini@redhat.com, chegu_vinod@hp.com, knoel@redhat.com mrhines@linux.vnet.ibm.com wrote: > From: "Michael R. Hines" > > This exposes throughput (in megabits/sec) through QMP. > > Reviewed-by: Paolo Bonzini > Reviewed-by: Chegu Vinod > Tested-by: Chegu Vinod > Tested-by: Michael R. Hines > Signed-off-by: Michael R. Hines > @@ -154,8 +154,10 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict) > > if (info->has_status) { > monitor_printf(mon, "Migration status: %s\n", info->status); > - monitor_printf(mon, "total time: %" PRIu64 " milliseconds\n", > - info->total_time); > + if (info->has_total_time) { > + monitor_printf(mon, "total time: %" PRIu64 " milliseconds\n", > + info->total_time); > + } > if (info->has_expected_downtime) { > monitor_printf(mon, "expected downtime: %" PRIu64 " milliseconds\n", > info->expected_downtime); This chunk don't belong to this patch. for the rest: Reviewed-by: Juan Quintela