summaryrefslogtreecommitdiff
path: root/qemu-os-posix.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-06-22 11:44:05 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2010-07-01 14:27:13 -0300
commit4af9193ae954f87225e1ba5d527f6a13e37b1e0e (patch)
tree63b0129e38205474c09e7a6a39c328b722da102b /qemu-os-posix.h
parent2dbc8db0ba9e34b168c3b79a6c5435f770d3796e (diff)
downloadqemu-4af9193ae954f87225e1ba5d527f6a13e37b1e0e.tar.gz
qemu-4af9193ae954f87225e1ba5d527f6a13e37b1e0e.tar.bz2
qemu-4af9193ae954f87225e1ba5d527f6a13e37b1e0e.zip
QMP: New argument checker (second part)
This commit introduces the second (and last) part of QMP's new argument checker. The job is done by check_client_args_type(), it iterates over the client's argument qdict and for for each argument it checks if it exists and if its type is valid. It's important to observe the following changes from the existing argument checker: - If the handler accepts an O-type argument, unknown arguments are passed down to it. It's up to O-type handlers to validate their arguments - Boolean types (eg. 'b' and '-') don't accept integers anymore, only json-bool - Argument types '/' and '.' are currently unsupported under QMP, thus they're not handled Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qemu-os-posix.h')
0 files changed, 0 insertions, 0 deletions