mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
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>
This commit is contained in:
parent
4fde1eba0f
commit
24537a0191
9 changed files with 17 additions and 13 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue