From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjH7W-0002PE-BY for qemu-devel@nongnu.org; Tue, 19 Jul 2011 16:42:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjH7T-0006ZN-6E for qemu-devel@nongnu.org; Tue, 19 Jul 2011 16:42:21 -0400 Received: from mout.perfora.net ([74.208.4.194]:63138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjH7S-0006ZE-MZ for qemu-devel@nongnu.org; Tue, 19 Jul 2011 16:42:18 -0400 From: Michael Roth Date: Tue, 19 Jul 2011 15:41:52 -0500 Message-Id: <1311108115-27128-2-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1311108115-27128-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1311108115-27128-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v8 1/4] qerror: add QERR_JSON_PARSE_ERROR to qerror.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@linux.vnet.ibm.com, Jes.Sorensen@redhat.com, agl@linux.vnet.ibm.com, mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com Missing from previous addition of error to qerror.h. Needed for qerror_format() and friends. Signed-off-by: Michael Roth --- qerror.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/qerror.c b/qerror.c index d7fcd93..c92adfc 100644 --- a/qerror.c +++ b/qerror.c @@ -141,6 +141,11 @@ static const QErrorStringTable qerror_table[] = { .desc = "Invalid JSON syntax", }, { + .error_fmt = QERR_JSON_PARSE_ERROR, + .desc = "JSON parse error, %(message)", + + }, + { .error_fmt = QERR_KVM_MISSING_CAP, .desc = "Using KVM without %(capability), %(feature) unavailable", }, -- 1.7.0.4