Re: [Qemu-devel] [PATCH 2/4] HMP: Prepend errors with 'Error:'

2019-02-14 Thread Markus Armbruster
"Dr. David Alan Gilbert (git)" writes: > From: "Dr. David Alan Gilbert" > > Always make error messages start with 'Error:' as a fallback > to make sure that anything parsing them can tell it failed. Feeding HMP output to programs is a bad idea to begin with. > Note: Some places don't use hmp

Re: [Qemu-devel] [PATCH 2/4] HMP: Prepend errors with 'Error:'

2019-02-12 Thread Philippe Mathieu-Daudé
On 2/12/19 2:47 PM, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Always make error messages start with 'Error:' as a fallback > to make sure that anything parsing them can tell it failed. > > Note: Some places don't use hmp_handle_error > > Signed-off-by: Dr. David A

[Qemu-devel] [PATCH 2/4] HMP: Prepend errors with 'Error:'

2019-02-12 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Always make error messages start with 'Error:' as a fallback to make sure that anything parsing them can tell it failed. Note: Some places don't use hmp_handle_error Signed-off-by: Dr. David Alan Gilbert --- hmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti