commit | c917c8f3d07816f018a96121422de3b53f525fe4 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Mon May 31 17:28:01 2010 -0300 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Thu Jul 01 14:27:13 2010 -0300 |
tree | 0e2cbd8b8f5a0835e8f608775d3abdb35718f033 | |
parent | 60d76d7b073f6f25c9dbe4d68df7d012f73db27f [diff] |
QMP: Introduce qmp_check_input_obj() This is similar to qmp_check_client_args(), but it checks if the input object follows the specification (QMP/qmp-spec.txt section 2.3). As we're limited to three keys, the work here is quite simple: we iterate over the input object, checking each time if the current argument complies to the specification. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>