qemu-log: introduce qemu_log_separate
commit013a29424c9a1e4a74a108bbc117fef5581abb41
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Nov 2015 12:16:27 +0000 (13 13:16 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Dec 2015 16:33:47 +0000 (17 17:33 +0100)
tree7be6e29c75f4ded55f0c5502724ec0c9af251990
parent31e38a22a0c5a25646f966f001e1f5513d5a186d
qemu-log: introduce qemu_log_separate

In some cases, the same message is printed both on stderr and in the log.
Avoid duplicate output in the default case where stderr _is_ the log,
and standardize this to stderr+log where it used to use stdio+log.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c
include/qemu/log.h
linux-user/main.c
target-cris/translate.c
target-ppc/excp_helper.c
target-ppc/translate.c
target-s390x/helper.c
target-s390x/mmu_helper.c