xemu/util
Markus Armbruster 543202c0dd error: Don't append a newline when printing the error hint
Since commit 50b7b00, we have error_append_hint() to conveniently
accumulate Error member @hint.  error_report_err() prints it with a
newline appended.  Consequently, users of error_append_hint() need to
know whether theirs is the final line of the hint to decide whether it
needs a newline.  Not a nice interface.

Change error_report_err() to print just the hint, and the (still few)
users of error_append_hint() to add the required newline.

Cc: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1450370121-5768-7-git-send-email-armbru@redhat.com>
2016-01-13 11:58:58 +01:00
..
acl.c
base64.c util: add base64 decoding function 2015-12-18 16:25:08 +00:00
bitmap.c
bitops.c
buffer.c buffer: allow a buffer to shrink gracefully 2015-11-05 09:09:58 +01:00
compatfd.c
coroutine-gthread.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
coroutine-sigaltstack.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
coroutine-ucontext.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
coroutine-win32.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
crc32c.c
cutils.c utils: rename strtosz to use qemu prefix 2015-09-25 12:04:41 +02:00
envlist.c
error.c error: Don't append a newline when printing the error hint 2016-01-13 11:58:58 +01:00
event_notifier-posix.c util: const event_notifier_get_fd() argument 2015-10-24 18:02:49 +02:00
event_notifier-win32.c
fifo8.c
getauxval.c
hbitmap.c
hexdump.c
host-utils.c
id.c util/id: fully allocate names table 2015-12-04 09:39:55 +03:00
iov.c
Makefile.objs util: add base64 decoding function 2015-12-18 16:25:08 +00:00
memfd.c vhost: add migration block if memfd failed 2015-10-22 14:34:49 +03:00
mmap-alloc.c mmap-alloc: tweak a comment on ppc64 2015-12-22 17:45:12 +02:00
module.c
notify.c
osdep.c osdep: Change default value of qemu_hw_version() to "2.5+" 2015-11-25 13:42:37 +02:00
oslib-posix.c util/mmap-alloc: fix hugetlb support on ppc64 2015-12-02 22:38:23 +02:00
oslib-win32.c oslib-win32: Change return type of function getpagesize 2015-11-30 06:47:02 +01:00
path.c
qemu-config.c util/qemu-config: fix missing machine command line options 2015-10-20 16:21:00 +02:00
qemu-coroutine-io.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-coroutine-lock.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-coroutine-sleep.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-coroutine.c coroutine: move into libqemuutil.a library 2015-10-20 14:59:04 +01:00
qemu-error.c
qemu-openpty.c
qemu-option.c error: Don't append a newline when printing the error hint 2016-01-13 11:58:58 +01:00
qemu-progress.c progress: Allow regressing progress 2015-12-18 14:34:43 +01:00
qemu-sockets.c io: add QIOChannelSocket class 2015-12-18 12:18:31 +00:00
qemu-thread-posix.c
qemu-thread-win32.c qemu-thread: add a fast path to the Win32 QemuEvent 2015-09-24 20:52:28 +02:00
qemu-timer-common.c
rcu.c
readline.c
rfifolock.c
throttle.c
timed-average.c block: Add average I/O queue depth to BlockDeviceTimedStats 2015-11-12 16:22:46 +01:00
unicode.c
uri.c