From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1YEu-00053r-Lh for qemu-devel@nongnu.org; Wed, 15 Aug 2012 03:42:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1YEt-0008SI-Ro for qemu-devel@nongnu.org; Wed, 15 Aug 2012 03:42:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1YEt-0008SB-KE for qemu-devel@nongnu.org; Wed, 15 Aug 2012 03:42:03 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7F7g3rS007829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 15 Aug 2012 03:42:03 -0400 From: Pavel Hrdina Date: Wed, 15 Aug 2012 09:41:42 +0200 Message-Id: <1a792397f896fe2c5106eb55e58d0e3c8a3032c3.1345016001.git.phrdina@redhat.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 01/18] qerror: introduce QERR_GENERIC_ERROR List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Pavel Hrdina Signed-off-by: Pavel Hrdina --- qerror.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qerror.h b/qerror.h index d0a76a4..7e0bae7 100644 --- a/qerror.h +++ b/qerror.h @@ -120,6 +120,9 @@ void assert_no_error(Error *err); #define QERR_FEATURE_DISABLED \ ERROR_CLASS_GENERIC_ERROR, "The feature '%s' is not enabled" +#define QERR_GENERIC_ERROR \ + ERROR_CLASS_GENERIC_ERROR, "An (Errno %d) error has occurred" + #define QERR_INVALID_BLOCK_FORMAT \ ERROR_CLASS_GENERIC_ERROR, "Invalid block format '%s'" -- 1.7.11.2