Re: [Qemu-devel] [PATCH 13/20] monitor: Limit QError use to command handlers

2015-05-26 Thread Markus Armbruster
Eric Blake writes: > On 05/22/2015 05:36 AM, Markus Armbruster wrote: >> 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

Re: [Qemu-devel] [PATCH 13/20] monitor: Limit QError use to command handlers

2015-05-22 Thread Eric Blake
On 05/22/2015 05:36 AM, Markus Armbruster wrote: > 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 handl

[Qemu-devel] [PATCH 13/20] monitor: Limit QError use to command handlers

2015-05-22 Thread Markus Armbruster
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 comma