From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ7vF-0003fJ-Fc for qemu-devel@nongnu.org; Wed, 10 Apr 2013 23:11:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQ7vD-0005n8-1A for qemu-devel@nongnu.org; Wed, 10 Apr 2013 23:11:37 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:52788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ7vC-0005mp-R9 for qemu-devel@nongnu.org; Wed, 10 Apr 2013 23:11:34 -0400 Received: from /spool/local by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 10 Apr 2013 21:11:31 -0600 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 063B419D8045 for ; Wed, 10 Apr 2013 21:11:24 -0600 (MDT) Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r3B3BSBW163884 for ; Wed, 10 Apr 2013 21:11:28 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r3B3BShp023048 for ; Wed, 10 Apr 2013 21:11:28 -0600 Message-ID: <516629DF.8010904@linux.vnet.ibm.com> Date: Wed, 10 Apr 2013 23:11:27 -0400 From: "Michael R. Hines" MIME-Version: 1.0 References: <1365632901-15470-1-git-send-email-mrhines@linux.vnet.ibm.com> <1365632901-15470-11-git-send-email-mrhines@linux.vnet.ibm.com> <51661F48.3070303@redhat.com> In-Reply-To: <51661F48.3070303@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH RDMA support v1: 10/13] introduce new command migrate_check_for_zero List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: aliguori@us.ibm.com, mst@redhat.com, qemu-devel@nongnu.org, owasserm@redhat.com, abali@us.ibm.com, mrhines@us.ibm.com, gokul@us.ibm.com, pbonzini@redhat.com On 04/10/2013 10:26 PM, Eric Blake wrote: > >> +# >> +# @value: on|off >> +# >> +# Returns: nothing on success >> +# >> +# Since: 1.5.0 >> +## >> +{ 'command': 'migrate_check_for_zero', 'data': {'value': 'bool'} } > You can set the capability, but how do you query its current setting? I > dislike write-only interfaces. > I will add a patch to update the "query-migrate" QMP command to reflect the current state of the option. - Michael