Re: [Qemu-devel] [PATCH v2] hmp: Allow for error message hints on HMP

2015-08-20 Thread Eric Blake
On 08/18/2015 02:48 PM, Eric Blake wrote: > Commits 7216ae3d and d2828429 disabled some error message hints, > all because a change to use modern error reporting meant that the > hint would be output prior to the actual error. Fix this by making > hints a first-class member of Error. > > For exam

Re: [Qemu-devel] [PATCH v2] hmp: Allow for error message hints on HMP

2015-08-20 Thread Paolo Bonzini
On 18/08/2015 14:48, Eric Blake wrote: > Commits 7216ae3d and d2828429 disabled some error message hints, > all because a change to use modern error reporting meant that the > hint would be output prior to the actual error. Fix this by making > hints a first-class member of Error. > > For examp

[Qemu-devel] [PATCH v2] hmp: Allow for error message hints on HMP

2015-08-18 Thread Eric Blake
Commits 7216ae3d and d2828429 disabled some error message hints, all because a change to use modern error reporting meant that the hint would be output prior to the actual error. Fix this by making hints a first-class member of Error. For example, we are now back to the pleasant: $ qemu-system-