diff options
| author | Markus Armbruster <armbru@redhat.com> | 2015-03-06 11:28:00 +0100 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2015-06-02 10:07:15 +0200 |
| commit | 710aec915d208246891b68e2ba61b54951edc508 (patch) | |
| tree | 2bff8cd64d923805bfb52a9c120534f1f28960d6 /scripts/qapi.py | |
| parent | 452e0300a3521f13b6c4ba0b99a8cea3a29209f1 (diff) | |
| download | focaccia-qemu-710aec915d208246891b68e2ba61b54951edc508.tar.gz focaccia-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 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions