From: Wei Liu Subject: Re: [PATCH for 4.6 v2 2/5] libxc: migration v2 prefix Memory -> Frames Date: Sun, 6 Sep 2015 20:21:00 +0100 Message-ID: <20150906192100.GA30249@zion.uk.xensource.com> References: <1441411167-32440-1-git-send-email-wei.liu2@citrix.com> <1441411167-32440-3-git-send-email-wei.liu2@citrix.com> <55EC689D.4080902@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZYfUv-0002Fr-0S for xen-devel@lists.xenproject.org; Sun, 06 Sep 2015 19:21:05 +0000 Content-Disposition: inline In-Reply-To: <55EC689D.4080902@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Ian Jackson , Xen-devel , Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Sun, Sep 06, 2015 at 05:23:57PM +0100, Andrew Cooper wrote: > On 05/09/15 00:59, Wei Liu wrote: > >The prefix "Memory" is confusing because the numbers shown after that > >are referring to frames. They have no bearing on how many pages a domain > >actually owns or how many actual pages are processed. > > There is a direct bearing on how many pages are processed, by virtue of the > "$X of $Y" later in the line. I think your final phrase is misleading and > should just be dropped. > OK. > Also, there are two further places which need "Memory" changing in a similar > way; send_memory_verify() (which itself should probably be renamed to > verify_frames()), and update_progress_string() which is the companion to the > hunk below, but for live migration. > I will fix those, too. Wei. > ~Andrew > > > > >Signed-off-by: Wei Liu > >--- > > tools/libxc/xc_sr_save.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > >diff --git a/tools/libxc/xc_sr_save.c b/tools/libxc/xc_sr_save.c > >index 58667af..924c425 100644 > >--- a/tools/libxc/xc_sr_save.c > >+++ b/tools/libxc/xc_sr_save.c > >@@ -659,7 +659,7 @@ static int send_domain_memory_nonlive(struct xc_sr_context *ctx) > > if ( rc ) > > goto err; > >- xc_set_progress_prefix(xch, "Memory"); > >+ xc_set_progress_prefix(xch, "Frames"); > > rc = send_all_pages(ctx); > > if ( rc )