From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUeI3-0006ei-VM for qemu-devel@nongnu.org; Fri, 11 Oct 2013 11:06:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUeHy-000563-03 for qemu-devel@nongnu.org; Fri, 11 Oct 2013 11:06:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUeHx-00054I-Nh for qemu-devel@nongnu.org; Fri, 11 Oct 2013 11:06:01 -0400 From: Kevin Wolf Date: Fri, 11 Oct 2013 17:04:52 +0200 Message-Id: <1381503951-27985-3-git-send-email-kwolf@redhat.com> In-Reply-To: <1381503951-27985-1-git-send-email-kwolf@redhat.com> References: <1381503951-27985-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PULL 02/61] qapi: Introduce enum BlockJobType List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Fam Zheng This will replace the open coded block job type string for mirror, commit and backup. Signed-off-by: Fam Zheng Reviewed-by: Eric Blake Signed-off-by: Kevin Wolf --- qapi-schema.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/qapi-schema.json b/qapi-schema.json index 145eca8..381ffbf 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1366,6 +1366,24 @@ 'data': ['top', 'full', 'none'] } ## +# @BlockJobType: +# +# Type of a block job. +# +# @commit: block commit job type, see "block-commit" +# +# @stream: block stream job type, see "block-stream" +# +# @mirror: drive mirror job type, see "drive-mirror" +# +# @backup: drive backup job type, see "drive-backup" +# +# Since: 1.7 +## +{ 'enum': 'BlockJobType', + 'data': ['commit', 'stream', 'mirror', 'backup'] } + +## # @BlockJobInfo: # # Information about a long-running block device operation. -- 1.8.1.4