]> Git Repo - qemu.git/commit - monitor.c
monitor: Limit QError use to command handlers
authorMarkus Armbruster <[email protected]>
Fri, 6 Mar 2015 10:28:00 +0000 (11:28 +0100)
committerMarkus Armbruster <[email protected]>
Tue, 2 Jun 2015 08:07:15 +0000 (10:07 +0200)
commit710aec915d208246891b68e2ba61b54951edc508
tree2bff8cd64d923805bfb52a9c120534f1f28960d6
parent452e0300a3521f13b6c4ba0b99a8cea3a29209f1
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Luiz Capitulino <[email protected]>
monitor.c
This page took 0.024778 seconds and 4 git commands to generate.