diff options
| author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-05-31 17:28:01 -0300 |
|---|---|---|
| committer | Luiz Capitulino <lcapitulino@redhat.com> | 2010-07-01 14:27:13 -0300 |
| commit | c917c8f3d07816f018a96121422de3b53f525fe4 (patch) | |
| tree | 0e2cbd8b8f5a0835e8f608775d3abdb35718f033 /hw/virtio-net.c | |
| parent | 60d76d7b073f6f25c9dbe4d68df7d012f73db27f (diff) | |
| download | focaccia-qemu-c917c8f3d07816f018a96121422de3b53f525fe4.tar.gz focaccia-qemu-c917c8f3d07816f018a96121422de3b53f525fe4.zip | |
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>
Diffstat (limited to 'hw/virtio-net.c')
0 files changed, 0 insertions, 0 deletions