summaryrefslogtreecommitdiff
path: root/cpus.h
diff options
context:
space:
mode:
authorMatthew Fernandez <matthew.fernandez@gmail.com>2011-06-07 16:32:40 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-06-15 16:51:24 +0000
commitc235d7387c850857ec6b0ba8ee28c7e1548f68c0 (patch)
tree7ee3ca4ebda75f746d9c7ba6845b8bdab72e3f42 /cpus.h
parent71f34ad05359d7fa97996562d904979281ddc7f5 (diff)
downloadqemu-c235d7387c850857ec6b0ba8ee28c7e1548f68c0.tar.gz
qemu-c235d7387c850857ec6b0ba8ee28c7e1548f68c0.tar.bz2
qemu-c235d7387c850857ec6b0ba8ee28c7e1548f68c0.zip
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>
Diffstat (limited to 'cpus.h')
-rw-r--r--cpus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpus.h b/cpus.h
index 6fdeb0d8f2..f42b54e39c 100644
--- a/cpus.h
+++ b/cpus.h
@@ -19,6 +19,7 @@ void vm_state_notify(int running, int reason);
bool cpu_exec_all(void);
void set_numa_modes(void);
void set_cpu_log(const char *optarg);
+void set_cpu_log_filename(const char *optarg);
void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
#endif