Command line support for altering the log file location
commitc235d7387c850857ec6b0ba8ee28c7e1548f68c0
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 7 Jun 2011 16:32:40 +0000 (7 16:32 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Wed, 15 Jun 2011 16:51:24 +0000 (15 16:51 +0000)
tree7ee3ca4ebda75f746d9c7ba6845b8bdab72e3f42
parent71f34ad05359d7fa97996562d904979281ddc7f5
Command line support for altering the log file location

Add command line support for logging to a location other than /tmp/qemu.log.

With logging enabled (command line option -d), the log is written to
the hard-coded path /tmp/qemu.log. This patch adds support for writing
the log to a different location by passing the -D option.

Signed-off-by: Matthew Fernandez <matthew.fernandez@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
bsd-user/main.c
cpus.c
cpus.h
darwin-user/main.c
linux-user/main.c
qemu-options.hx
vl.c