From 60d76d7b073f6f25c9dbe4d68df7d012f73db27f Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Tue, 1 Jun 2010 16:15:23 -0300 Subject: QError: Introduce QERR_QMP_EXTRA_MEMBER Signed-off-by: Luiz Capitulino --- qerror.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qerror.c') diff --git a/qerror.c b/qerror.c index cce1e7befa..2f6f59061f 100644 --- a/qerror.c +++ b/qerror.c @@ -176,6 +176,10 @@ static const QErrorStringTable qerror_table[] = { .error_fmt = QERR_QMP_BAD_INPUT_OBJECT_MEMBER, .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", -- cgit v1.2.3