qemu-e2k/bsd-user
Peter Maydell 989b697ddd qemu-log: default to stderr for logging output
Switch the default for qemu_log logging output from "/tmp/qemu.log"
to stderr. This is an incompatible change in some sense, but logging
is mostly used for debugging purposes so it shouldn't affect production
use. The previous behaviour can be obtained by adding "-D /tmp/qemu.log"
to the command line.

This change requires us to:
 * update all the documentation/help text (we take the opportunity
   to smooth out minor inconsistencies between the phrasing in
   linux-user/bsd-user/system help messages)
 * make linux-user and bsd-user defer to qemu-log for the default
   logging destination rather than overriding it themselves
 * ensure that all logfile closing is done via qemu_log_close()
   and that that function doesn't close stderr
as well as the obvious change to the behaviour of do_qemu_set_log()
when no logfile name has been specified.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1361901160-28729-1-git-send-email-peter.maydell@linaro.org
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-02-26 13:31:47 -06:00
..
freebsd
i386
netbsd
openbsd
sparc
sparc64
x86_64
bsd-mman.h Prepare for handling different BSD mmap() flags 2008-11-29 14:05:16 +00:00
bsdload.c
elfload.c build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
errno_defs.h
main.c qemu-log: default to stderr for logging output 2013-02-26 13:31:47 -06:00
Makefile.objs
mmap.c bsd-user: avoid conflict with qemu_vmalloc 2013-01-26 13:18:27 +00:00
qemu.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
signal.c
strace.c
syscall_defs.h
syscall.c
uaccess.c