HMP: Prepend errors with 'Error:'
commit66363e9a43f649360a3f74d2805c9f864da027eb
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 12 Feb 2019 13:47:56 +0000 (12 13:47 +0000)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 14 Feb 2019 10:46:30 +0000 (14 11:46 +0100)
tree2506af35762ab758b952b645528892d9088ad5b1
parent65b182c379b96b87973567084123c9d47af474e5
HMP: Prepend errors with 'Error:'

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 <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20190212134758.10514-3-dgilbert@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hmp.c