diff options
| author | Markus Armbruster | 2015-03-06 11:28:00 +0100 |
|---|---|---|
| committer | Markus Armbruster | 2015-06-02 10:07:15 +0200 |
| commit | 710aec915d208246891b68e2ba61b54951edc508 (patch) | |
| tree | 2bff8cd64d923805bfb52a9c120534f1f28960d6 /include/exec/user | |
| parent | monitor: Inline monitor_has_error() into its only caller (diff) | |
| download | qemu-710aec915d208246891b68e2ba61b54951edc508.tar.gz qemu-710aec915d208246891b68e2ba61b54951edc508.tar.xz qemu-710aec915d208246891b68e2ba61b54951edc508.zip | |
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 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
