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

2015-05-29 Thread Markus Armbruster
Luiz Capitulino writes: > On Tue, 26 May 2015 17:20:48 +0200 > 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 o

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

2015-05-28 Thread Luiz Capitulino
On Tue, 26 May 2015 17:20:48 +0200 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 thr

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

2015-05-26 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