From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sus8l-0007NM-8T for qemu-devel@nongnu.org; Fri, 27 Jul 2012 17:32:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sus8k-0008EY-Bn for qemu-devel@nongnu.org; Fri, 27 Jul 2012 17:32:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:62085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sus8k-0008ER-3r for qemu-devel@nongnu.org; Fri, 27 Jul 2012 17:32:06 -0400 From: Luiz Capitulino Date: Fri, 27 Jul 2012 18:32:01 -0300 Message-Id: <1343424728-22461-21-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1343424728-22461-1-git-send-email-lcapitulino@redhat.com> References: <1343424728-22461-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 20/27] qapi-schema: add ErrorClass enum List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, aliguori@us.ibm.com, eblake@redhat.com, armbru@redhat.com Signed-off-by: Luiz Capitulino --- qapi-schema.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/qapi-schema.json b/qapi-schema.json index 7500754..b1325c4 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -3,6 +3,32 @@ # QAPI Schema ## +# @ErrorClass +# +# QEMU error classes +# +# @GenericError: this is used for errors that don't require a specific error +# class. This should be the default case for most errors +# +# @CommandNotFound: the request command has not been found +# +# @DeviceNotActive: a device has failed to be become active +# +# @DeviceNotFound: the requested device has not been found +# +# @KVMMissingCap: the requested operation can't be fulfilled because a +# required KVM capability is missing +# +# @MigrationExpected: the requested operation can't be fulfilled because a +# migration process is expected +# +# Since: 1.2 +## +{ 'enum': 'ErrorClass', + 'data': [ 'GenericError', 'CommandNotFound', 'DeviceNotActive', + 'KVMMissingCap', 'DeviceNotFound', 'MigrationExpected' ] } + +## # @NameInfo: # # Guest name information. -- 1.7.11.2.249.g31c7954.dirty