diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-11-30 17:55:20 +0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-01-27 18:07:59 +0100 |
| commit | 096b4894e5c6882f9425b0efa5cb1384bfb2d273 (patch) | |
| tree | 89d2245a0ecee6e3389bd9ea128dc1a994584846 /qemu-char.c | |
| parent | 1876ed04dc3a501f205bbeaa45403966b73da70c (diff) | |
| download | focaccia-qemu-096b4894e5c6882f9425b0efa5cb1384bfb2d273.tar.gz focaccia-qemu-096b4894e5c6882f9425b0efa5cb1384bfb2d273.zip | |
spice-char: improve error reporting
Set errp to report errors up to the right monitor. Use error_append_hint() to give hints about parameters on !qmp monitors, instead of a direct fprintf() call. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions