summaryrefslogtreecommitdiff
path: root/qerror.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-06-01 16:15:23 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2010-07-01 14:27:13 -0300
commitae918ce74dc198ccf5601e73a2802816b16f0cd1 (patch)
tree245d0f103488a799864a05041f14e7c57a79d720 /qerror.c
parent1e091f7712a52dd4aac418fdb8f7087231d9e96b (diff)
downloadqemu-ae918ce74dc198ccf5601e73a2802816b16f0cd1.tar.gz
qemu-ae918ce74dc198ccf5601e73a2802816b16f0cd1.tar.bz2
qemu-ae918ce74dc198ccf5601e73a2802816b16f0cd1.zip
QError: Introduce QERR_QMP_EXTRA_MEMBER
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qerror.c')
-rw-r--r--qerror.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qerror.c b/qerror.c
index cce1e7befa..2f6f59061f 100644
--- a/qerror.c
+++ b/qerror.c
@@ -177,6 +177,10 @@ static const QErrorStringTable qerror_table[] = {
.desc = "QMP input object member '%(member)' expects '%(expected)'",
},
{
+ .error_fmt = QERR_QMP_EXTRA_MEMBER,
+ .desc = "QMP input object member '%(member)' is unexpected",
+ },
+ {
.error_fmt = QERR_SET_PASSWD_FAILED,
.desc = "Could not set password",
},