From patchwork Thu Feb 20 09:20:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 1241320 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48NTfw51TVz9sRs for ; Thu, 20 Feb 2020 20:23:52 +1100 (AEDT) Received: from localhost ([::1]:38416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4i3i-0007ae-Jc for incoming@patchwork.ozlabs.org; Thu, 20 Feb 2020 04:23:50 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51883) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4i1d-0004HU-Ll for qemu-devel@nongnu.org; Thu, 20 Feb 2020 04:21:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4i1c-0008Cc-55 for qemu-devel@nongnu.org; Thu, 20 Feb 2020 04:21:41 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:40855) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4i1b-0008CE-SA for qemu-devel@nongnu.org; Thu, 20 Feb 2020 04:21:40 -0500 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MwgOK-1jO26u3hYA-00y7XU; Thu, 20 Feb 2020 10:21:03 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 08/13] linux-user: remove gemu_log from the linux-user tree Date: Thu, 20 Feb 2020 10:20:48 +0100 Message-Id: <20200220092053.1510215-9-laurent@vivier.eu> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200220092053.1510215-1-laurent@vivier.eu> References: <20200220092053.1510215-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:jaXcrerx7Sf1J2/KAshvpJej0DPSRikz8QYveZdkx0RE7tkrj+h yP9BDC4x6hRStjBmBASgYcXE31RoL0wLG3uxKypWzO9br/1H/V5L/WcrisCFv30wc6OZI7I pk8FVjVBvK51sjH5utFpL2mniWZCjGJaXAe5+lQnrEzkAZ0t8pbmMr+i46kBkZIm+byZHr2 yf+s9VNKu73PPPSaslqXg== X-UI-Out-Filterresults: notjunk:1; V03:K0:qS/B/DBv5nE=:CzV72reGOi9BJmymo6aidW e8SRuVLTuZQaeZ9AHviErZ+7AZgicJ5nCWTisO4CopukYsDpJ8nr8qx6mlVAsAy8zJV6xaend eUzUqU8FjDFKk/unxnoHc508J/yl6bTXRBEpdAfYfk+dBS+Q1tU0iicceAApdGQTIqXPxx+Gu Q7Hl60HRkgY5QjmBibBDFys/N90A2mbvfwHJMm7PjT7aIrI5IxNZGYC8vo0XJoUXBRCFivZg9 r83BCnMUVFlY5EqPz6zAhdI7Wichryn5IjSXoGMoa5CeIESxuVRr8rYL7+vrf5uvtOaCWDyph TTRx2LXWm/Ayxh1UNrIz3r8BtsSduiGszf0lCB0fn4U3RzVFaLoenqmjrONXKpDliw0Mttc3b RduTtECXzp/qyIrtn+KG/2LzNdZZC+NcRAAMfzYGOInVfkBq5e8D0mtM2yQoAxjVPyT9uP5d+ ImqQIbGqmpTyckzd8R4JmlhGvYzG6n2XMKLXFGIGcOg9e11nHpKaPspLxzx/AMKDVEJdbpVrm GhbZdPvAvp0LIoi5cyiIyABZZu6yeIKborVS4Xc4ubbnyaLDbQEcncyZeBHHegz/fJXFz9nMa NPycAF9DmqtSKFifMFBV3KCGPVMdPM0QwUMHaAu7YNcgkROS7XR+MNb7DSZFiuvfgTIHDKjzE GG1XNwt4DhHkCmvRfccip5NF7imeVYDcfGhXOtoLtwDASa8vOjcRZ/H2KiyhS9SlpjmUawtSk TUZQhuCwEuwmIlFlDIdv4y+VVbpexPBCC/dwQls+T8nzg+uKzmJ0ZgPr/IcFs9x5WIFIE5LmU I5VdUc6WnfFfgWZ/q769YKyD30KajeeWPD4cGbrLzT18t72BBKp4IxTOs2BQtZtYYlNWCzM X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.13 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier , Josh Kunz , Aleksandar Markovic , Aleksandar Rikalo , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Josh Kunz Now that all uses have been migrated to `qemu_log' it is no longer needed. Reviewed-by: Laurent Vivier Signed-off-by: Josh Kunz Message-Id: <20200204025416.111409-4-jkz@google.com> Signed-off-by: Laurent Vivier --- 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);