From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1OYo-0002vB-9z for qemu-devel@nongnu.org; Mon, 31 Oct 2016 22:12:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1OYl-0007bh-4X for qemu-devel@nongnu.org; Mon, 31 Oct 2016 22:12:22 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:61901) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1c1OYk-0007ag-Kk for qemu-devel@nongnu.org; Mon, 31 Oct 2016 22:12:19 -0400 References: <1477824430-1460-1-git-send-email-amit.shah@redhat.com> <1477824430-1460-11-git-send-email-amit.shah@redhat.com> <87r36wbfpt.fsf@emacs.mitica> From: Hailiang Zhang Message-ID: <5817F99B.1050501@huawei.com> Date: Tue, 1 Nov 2016 10:10:35 +0800 MIME-Version: 1.0 In-Reply-To: <87r36wbfpt.fsf@emacs.mitica> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 10/18] COLO: Add checkpoint-delay parameter for migrate-set-parameters List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: quintela@redhat.com, Amit Shah Cc: Peter Maydell , "Dr. David Alan Gilbert" , qemu list On 2016/11/1 1:17, Juan Quintela wrote: > Amit Shah wrote: >> From: zhanghailiang >> >> Add checkpoint-delay parameter for migrate-set-parameters, so that >> we can control the checkpoint frequency when COLO is in periodic mode. >> >> >> @@ -587,6 +593,7 @@ MigrationParameters *qmp_query_migrate_parameters(Error **errp) >> params->max_bandwidth = s->parameters.max_bandwidth; >> params->has_downtime_limit = true; >> params->downtime_limit = s->parameters.downtime_limit; >> + params->x_checkpoint_delay = s->parameters.x_checkpoint_delay; >> >> return params; >> } > > I think you are missing here: > > params->has_x_checkpoint_delay = true; > Good catch, this will influence output of qmp command 'query-migrate-parameters'. (Without this, 'query-migrate-parameters' command will shows no "x-checkpoint-delay": 200) I will send a patch to fix it, thanks very much. Hailiang > No? > > Later, Juan > > . >