From: Michael Roth <mdroth@linux.vnet.ibm.com>
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
Subject: [Qemu-devel] [PATCH v7 1/4] qerror: add QERR_JSON_PARSE_ERROR to qerror.c
Date: Thu, 14 Jul 2011 15:00:31 -0500 [thread overview]
Message-ID: <1310673634-17631-2-git-send-email-mdroth@linux.vnet.ibm.com> (raw)
In-Reply-To: <1310673634-17631-1-git-send-email-mdroth@linux.vnet.ibm.com>
Missing from previous addition of error to qerror.h. Needed for
qerror_format() and friends.
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
---
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
next prev parent reply other threads:[~2011-07-14 20:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-14 20:00 [Qemu-devel] [QAPI+QGA 3/3] QEMU Guest Agent (virtagent) v7 Michael Roth
2011-07-14 20:00 ` Michael Roth [this message]
2011-07-14 20:00 ` [Qemu-devel] [PATCH v7 2/4] guest agent: command state class Michael Roth
2011-07-14 20:00 ` [Qemu-devel] [PATCH v7 3/4] guest agent: qemu-ga daemon Michael Roth
2011-07-14 20:00 ` [Qemu-devel] [PATCH v7 4/4] guest agent: add guest agent RPCs/commands Michael Roth
2011-07-15 16:23 ` Luiz Capitulino
2011-07-15 17:21 ` Michael Roth
2011-07-15 18:01 ` Luiz Capitulino
2011-07-15 1:15 ` [Qemu-devel] [QAPI+QGA 3/3] QEMU Guest Agent (virtagent) v7 Zhi Yong Wu
2011-07-15 16:27 ` Luiz Capitulino
2011-09-07 6:36 ` Zhi Yong Wu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1310673634-17631-2-git-send-email-mdroth@linux.vnet.ibm.com \
--to=mdroth@linux.vnet.ibm.com \
--cc=Jes.Sorensen@redhat.com \
--cc=agl@linux.vnet.ibm.com \
--cc=aliguori@linux.vnet.ibm.com \
--cc=lcapitulino@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).