mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
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>
This commit is contained in:
parent
5e5f07e08f
commit
9a7e542429
8 changed files with 7 additions and 13 deletions
|
@ -3113,7 +3113,7 @@ static void handle_arg_log(const char *arg)
|
|||
|
||||
static void handle_arg_log_filename(const char *arg)
|
||||
{
|
||||
cpu_set_log_filename(arg);
|
||||
qemu_set_log_filename(arg);
|
||||
}
|
||||
|
||||
static void handle_arg_set_env(const char *arg)
|
||||
|
@ -3480,7 +3480,7 @@ int main(int argc, char **argv, char **envp)
|
|||
#endif
|
||||
|
||||
/* init debug */
|
||||
cpu_set_log_filename(log_file);
|
||||
qemu_set_log_filename(log_file);
|
||||
optind = parse_args(argc, argv);
|
||||
|
||||
/* Zero out regs */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue