summaryrefslogtreecommitdiff
path: root/thunk.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-03-06 11:28:00 +0100
committerMarkus Armbruster <armbru@redhat.com>2015-06-02 10:07:15 +0200
commit710aec915d208246891b68e2ba61b54951edc508 (patch)
tree2bff8cd64d923805bfb52a9c120534f1f28960d6 /thunk.c
parent452e0300a3521f13b6c4ba0b99a8cea3a29209f1 (diff)
downloadqemu-710aec915d208246891b68e2ba61b54951edc508.tar.gz
monitor: Limit QError use to command handlers
The previous commits narrowed use of QError to handle_qmp_command() and its helpers monitor_protocol_emitter(), build_qmp_error_dict(). Narrow it further to just the command handler call: instead of converting Error to QError throughout handle_qmp_command(), convert the QError gotten from the command handler to Error, and switch the helpers from QError to Error. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'thunk.c')
0 files changed, 0 insertions, 0 deletions