aboutsummaryrefslogtreecommitdiff
path: root/linux-user/main.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2013-02-11 16:41:20 +0000
committerBlue Swirl <blauwirbel@gmail.com>2013-02-16 10:43:58 +0000
commit9a7e54242910d26d280589e1f5c7ec8814d02a6b (patch)
tree84c7050c7ae1b984738441ebbf7d5c702135f765 /linux-user/main.c
parent5e5f07e08f7ed8c8eb9b02d9f9c3c79cf95d65ee (diff)
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 'linux-user/main.c')
-rw-r--r--linux-user/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 7902f3beb2..4beb5c9ae5 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -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 */