aboutsummaryrefslogtreecommitdiff
path: root/qemu-log.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-02-11 16:41:23 +0000
committerBlue Swirl <blauwirbel@gmail.com>2013-02-16 10:44:44 +0000
commit24537a01910f110fe3e343c13df13e48f7968a9e (patch)
treeb096f048bd4116bea4f781c33276a7b5ecb9f47f /qemu-log.c
parent4fde1eba0f98779d4fdb64818071f72bb1672438 (diff)
qemu-log: Rename the public-facing cpu_set_log function to qemu_set_log
Rename the public-facing function cpu_set_log to qemu_set_log. This requires us to rename the internal-only qemu_set_log() to do_qemu_set_log(). 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 'qemu-log.c')
-rw-r--r--qemu-log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-log.c b/qemu-log.c
index 10a8581f1f..a96db882b3 100644
--- a/qemu-log.c
+++ b/qemu-log.c
@@ -54,7 +54,7 @@ void qemu_log_mask(int mask, const char *fmt, ...)
}
/* enable or disable low levels log */
-void qemu_set_log(int log_flags, bool use_own_buffers)
+void do_qemu_set_log(int log_flags, bool use_own_buffers)
{
const char *fname = logfilename ?: DEFAULT_LOGFILENAME;
@@ -94,7 +94,7 @@ void qemu_set_log_filename(const char *filename)
fclose(qemu_logfile);
qemu_logfile = NULL;
}
- cpu_set_log(qemu_loglevel);
+ qemu_set_log(qemu_loglevel);
}
const CPULogItem cpu_log_items[] = {