From 9a7e54242910d26d280589e1f5c7ec8814d02a6b Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Mon, 11 Feb 2013 16:41:20 +0000 Subject: qemu-log: Unify {cpu_set,set_cpu}_log_filename as qemu_set_log_filename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Andreas Färber Signed-off-by: Blue Swirl --- include/qemu/log.h | 2 +- include/sysemu/cpus.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/qemu/log.h b/include/qemu/log.h index 58f69cb..4760e04 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 f7f6854..60e44bb 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 -- cgit v1.1