From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhS5n-0008Hx-Lh for qemu-devel@nongnu.org; Thu, 14 Jul 2011 16:01:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhS5l-0000xp-N3 for qemu-devel@nongnu.org; Thu, 14 Jul 2011 16:01:03 -0400 Received: from mout.perfora.net ([74.208.4.194]:50527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhS5l-0000xf-Ak for qemu-devel@nongnu.org; Thu, 14 Jul 2011 16:01:01 -0400 From: Michael Roth Date: Thu, 14 Jul 2011 15:00:31 -0500 Message-Id: <1310673634-17631-2-git-send-email-mdroth@linux.vnet.ibm.com> In-Reply-To: <1310673634-17631-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1310673634-17631-1-git-send-email-mdroth@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v7 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