Received: from eggs.gnu.org ([2001:4830:134:3::10]:52543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz1h8-0001Wm-6Y for qemu-devel@nongnu.org; Fri, 03 Jan 2014 05:09:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vz1gz-0003Jb-Gm for qemu-devel@nongnu.org; Fri, 03 Jan 2014 05:09:34 -0500 Received: from mail-ea0-x22b.google.com ([2a00:1450:4013:c01::22b]:34326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vz1gz-0003J0-A4 for qemu-devel@nongnu.org; Fri, 03 Jan 2014 05:09:25 -0500 Received: by mail-ea0-f171.google.com with SMTP id h10so6721921eak.30 for ; Fri, 03 Jan 2014 02:09:24 -0800 (PST) Date: Fri, 3 Jan 2014 18:09:14 +0800 From: Stefan Hajnoczi Message-ID: <20140103100914.GE1483@stefanha-thinkpad.redhat.com> References: <1386920120-2651-1-git-send-email-famz@redhat.com> <1386920120-2651-3-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1386920120-2651-3-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v8 02/12] qapi: Add BlockOperationType enum List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: kwolf@redhat.com, rjones@redhat.com, armbru@redhat.com, qemu-devel@nongnu.org, imain@redhat.com, stefanha@redhat.com, pbonzini@redhat.com On Fri, Dec 13, 2013 at 03:35:10PM +0800, Fam Zheng wrote: > This adds the enum of all the operations that can be taken on a block > device. > > Signed-off-by: Fam Zheng > --- > qapi-schema.json | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > > diff --git a/qapi-schema.json b/qapi-schema.json > index d6f8615..8e982a2 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -1440,6 +1440,56 @@ > 'data': ['commit', 'stream', 'mirror', 'backup'] } > > ## > +# @BlockOperationType > +# > +# Type of a block operation. (since 2.0) Why is this exposed in qapi-schema.json? The blockers concept is internal to QEMU and not exposed via QMP.