From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvuUr-0004C0-WA for qemu-devel@nongnu.org; Mon, 30 Jul 2012 14:15:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvuUk-0004Ir-NE for qemu-devel@nongnu.org; Mon, 30 Jul 2012 14:15:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvuUk-0004I3-Fa for qemu-devel@nongnu.org; Mon, 30 Jul 2012 14:15:06 -0400 Date: Mon, 30 Jul 2012 15:15:35 -0300 From: Luiz Capitulino Message-ID: <20120730151535.38971045@doriath.home> In-Reply-To: <5016CE68.3050802@redhat.com> References: <1343554983-4195-1-git-send-email-owasserm@redhat.com> <1343554983-4195-3-git-send-email-owasserm@redhat.com> <5016CE68.3050802@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 02/11] Add migrate_set_parameter and query-migrate-parameters List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: peter.maydell@linaro.org, aliguori@us.ibm.com, quintela@redhat.com, stefanha@gmail.com, qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com, blauwirbel@gmail.com, Orit Wasserman , avi@redhat.com, pbonzini@redhat.com, chegu_vinod@hp.com On Mon, 30 Jul 2012 12:11:52 -0600 Eric Blake wrote: > On 07/29/2012 03:42 AM, Orit Wasserman wrote: > > The management can enable/disable a capability for the next migration by using > > migrate_set_parameter command. > > The management can query the current migration capabilities using > > query-migrate-parameters > > In addition to Luiz' nitpicks: > > Here in the commit message, you are mixing HMP (migrate_set_parameter) > with QMP (query-migrate-parameters). It might be better to stick to HMP > only (migrate_set_parameter, info migrate_parameters) or QMP only > (migrate-set-parameter, query-migrate-parameters), or even list the > spellings for both protocols. > > > +++ b/hmp-commands.hx > > > @@ -1419,6 +1433,8 @@ show user network stack connection states > > show migration status > > @item info migration_capabilities > > show migration capabilities > > +@item info migrate_parameters > > +show current migration parameters > > > +++ b/monitor.c > > @@ -2669,6 +2669,13 @@ static mon_cmd_t info_cmds[] = { > > .mhandler.info = hmp_info_migration_capabilities, > > }, > > { > > + .name = "migrate-parameters", > > Is this the correct spelling? Or is this feeding the HMP interface, > where you documented it above as 'info migrate_parameters'? It's the HMP interface, yes. > > > +++ b/qapi-schema.json > > @@ -345,6 +345,38 @@ > > { 'command': 'query-migration-capabilities', 'returns': ['MigrationCapabilityStatus'] } > > > > ## > > +# @migrate-set-parameters > > +# > > +# Enable/Disable the following migration capabilities (like xbzrle) > > +# > > +# Since: 1.2 > > Same comment as in 1/11 about 1.2 vs. 1.2.0. >