aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-02-11 16:41:20 +0000
committerBlue Swirl <blauwirbel@gmail.com>2013-02-16 10:43:58 +0000
commit9a7e54242910d26d280589e1f5c7ec8814d02a6b (patch)
tree84c7050c7ae1b984738441ebbf7d5c702135f765 /include
parent5e5f07e08f7ed8c8eb9b02d9f9c3c79cf95d65ee (diff)
qemu-log: Unify {cpu_set,set_cpu}_log_filename as qemu_set_log_filename
The qemu_log() functionality is no longer specific to TCG CPU debug logs. Rename cpu_set_log_filename() to qemu_set_log_filename() and drop the pointless wrapper set_cpu_log_filename(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/qemu/log.h2
-rw-r--r--include/sysemu/cpus.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/include/qemu/log.h b/include/qemu/log.h
index 58f69cb494..4760e04c5e 100644
--- a/include/qemu/log.h
+++ b/include/qemu/log.h
@@ -154,7 +154,7 @@ static inline void cpu_set_log(int log_flags)
#endif
}
-void cpu_set_log_filename(const char *filename);
+void qemu_set_log_filename(const char *filename);
int cpu_str_to_log_mask(const char *str);
#endif
diff --git a/include/sysemu/cpus.h b/include/sysemu/cpus.h
index f7f6854259..60e44bb70c 100644
--- a/include/sysemu/cpus.h
+++ b/include/sysemu/cpus.h
@@ -25,7 +25,6 @@ extern int smp_threads;
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