From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRzHv-0006kS-I2 for qemu-devel@nongnu.org; Thu, 21 Dec 2017 06:45:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRzHq-0003d2-Iw for qemu-devel@nongnu.org; Thu, 21 Dec 2017 06:45:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38400) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eRzHq-0003c5-CG for qemu-devel@nongnu.org; Thu, 21 Dec 2017 06:45:18 -0500 Date: Thu, 21 Dec 2017 19:45:11 +0800 From: Fam Zheng Message-ID: <20171221114511.GP10812@lemon> References: <20171219084557.9801-1-peterx@redhat.com> <20171219084557.9801-20-peterx@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171219084557.9801-20-peterx@redhat.com> Subject: Re: [Qemu-devel] [RFC v6 19/27] qapi: introduce new cmd option "allow-oob" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Xu Cc: qemu-devel@nongnu.org, Stefan Hajnoczi , "Daniel P . Berrange" , Paolo Bonzini , Juan Quintela , mdroth@linux.vnet.ibm.com, Eric Blake , Laurent Vivier , Markus Armbruster , marcandre.lureau@redhat.com, "Dr . David Alan Gilbert" On Tue, 12/19 16:45, Peter Xu wrote: > Here "oob" stands for "Out-Of-Band". When "allow-oob" is set, it means > the command allows out-of-band execution. > > The "oob" idea is proposed by Markus Armbruster in following thread: > > https://lists.gnu.org/archive/html/qemu-devel/2017-09/msg02057.html > > This new "allow-oob" boolean will be exposed by "query-qmp-schema" as > well for command entries, so that QMP clients can know which command can > be used as out-of-band calls. For example the command "migrate" > originally looks like: > > {"name": "migrate", "ret-type": "17", "meta-type": "command", > "arg-type": "86"} > > And it'll be changed into: > > {"name": "migrate", "ret-type": "17", "allow-oob": false, > "meta-type": "command", "arg-type": "86"} > > This patch only provides the QMP interface level changes. It does not > contains the real out-of-band execution implementation yet. > > Suggested-by: Markus Armbruster > Reviewed-by: Stefan Hajnoczi > Signed-off-by: Peter Xu Reviewed-by: Fam Zheng