diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2013-02-11 16:41:20 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-02-16 10:43:58 +0000 |
commit | 9a7e54242910d26d280589e1f5c7ec8814d02a6b (patch) | |
tree | 84c7050c7ae1b984738441ebbf7d5c702135f765 /include | |
parent | 5e5f07e08f7ed8c8eb9b02d9f9c3c79cf95d65ee (diff) | |
download | qemu-9a7e54242910d26d280589e1f5c7ec8814d02a6b.zip qemu-9a7e54242910d26d280589e1f5c7ec8814d02a6b.tar.gz qemu-9a7e54242910d26d280589e1f5c7ec8814d02a6b.tar.bz2 |
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.h | 2 | ||||
-rw-r--r-- | include/sysemu/cpus.h | 1 |
2 files changed, 1 insertions, 2 deletions
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 |