mirror of
https://github.com/qemu/qemu.git
synced 2024-11-23 19:03:38 +08:00
e38ac9621c
While QMP in general is designed so that it is possible to ignore unknown arguments, in the case of the QMP server it is better to reject them to detect bad clients. In fact, we're already doing this at the top level in the argument checker. To extend this to complex structures, add a mode to the input visitor where it checks for unvisited keys and raises an error if it finds one. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> |
||
---|---|---|
.. | ||
qapi-dealloc-visitor.c | ||
qapi-dealloc-visitor.h | ||
qapi-types-core.h | ||
qapi-visit-core.c | ||
qapi-visit-core.h | ||
qapi-visit-impl.h | ||
qmp-core.h | ||
qmp-dispatch.c | ||
qmp-input-visitor.c | ||
qmp-input-visitor.h | ||
qmp-output-visitor.c | ||
qmp-output-visitor.h | ||
qmp-registry.c | ||
string-input-visitor.c | ||
string-input-visitor.h | ||
string-output-visitor.c | ||
string-output-visitor.h |