[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 08/13] linux-user: remove gemu_log from the linux-user tree
From: |
Laurent Vivier |
Subject: |
[PULL 08/13] linux-user: remove gemu_log from the linux-user tree |
Date: |
Thu, 20 Feb 2020 10:20:48 +0100 |
From: Josh Kunz <address@hidden>
Now that all uses have been migrated to `qemu_log' it is no longer
needed.
Reviewed-by: Laurent Vivier <address@hidden>
Signed-off-by: Josh Kunz <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
linux-user/main.c | 9 ---------
linux-user/qemu.h | 1 -
2 files changed, 10 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 8f1d07cdd6a7..22578b163364 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -112,15 +112,6 @@ const char *qemu_uname_release;
by remapping the process stack directly at the right place */
unsigned long guest_stack_size = 8 * 1024 * 1024UL;
-void gemu_log(const char *fmt, ...)
-{
- va_list ap;
-
- va_start(ap, fmt);
- vfprintf(stderr, fmt, ap);
- va_end(ap);
-}
-
#if defined(TARGET_I386)
int cpu_get_pic_interrupt(CPUX86State *env)
{
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 2421dc7afd7a..792c74290f8d 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -211,7 +211,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
abi_long arg2, abi_long arg3, abi_long arg4,
abi_long arg5, abi_long arg6, abi_long arg7,
abi_long arg8);
-void gemu_log(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
extern __thread CPUState *thread_cpu;
void cpu_loop(CPUArchState *env);
const char *target_strerror(int err);
--
2.24.1
- [PULL 00/13] Linux user for 5.0 patches, Laurent Vivier, 2020/02/20
- [PULL 03/13] configure: linux-user doesn't need neither fdt nor slirp, Laurent Vivier, 2020/02/20
- [PULL 09/13] linux-user: Add support for getting alsa timer version and id, Laurent Vivier, 2020/02/20
- [PULL 05/13] configure: Avoid compiling system tools on user build by default, Laurent Vivier, 2020/02/20
- [PULL 02/13] linux-user: implement getsockopt SO_RCVTIMEO and SO_SNDTIMEO, Laurent Vivier, 2020/02/20
- [PULL 01/13] linux-user: Implement membarrier syscall, Laurent Vivier, 2020/02/20
- [PULL 12/13] linux-user: Add support for getting/setting selected alsa timer parameters using ioctls, Laurent Vivier, 2020/02/20
- [PULL 08/13] linux-user: remove gemu_log from the linux-user tree,
Laurent Vivier <=
- [PULL 04/13] linux-user/strace: Improve output of various syscalls, Laurent Vivier, 2020/02/20
- [PULL 10/13] linux-user: Add support for getting/setting specified alsa timer parameters using ioctls, Laurent Vivier, 2020/02/20
- [PULL 06/13] linux-user: Use `qemu_log' for non-strace logging, Laurent Vivier, 2020/02/20
- [PULL 11/13] linux-user: Add support for selecting alsa timer using ioctl, Laurent Vivier, 2020/02/20
- [PULL 13/13] linux-user: Add support for selected alsa timer instructions using ioctls, Laurent Vivier, 2020/02/20
- [PULL 07/13] linux-user: Use `qemu_log' for strace, Laurent Vivier, 2020/02/20
- Re: [PULL 00/13] Linux user for 5.0 patches, Peter Maydell, 2020/02/21