From patchwork Tue Jul 10 06:23:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 941814 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; 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 [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41Pscy3BC1z9s37 for ; Tue, 10 Jul 2018 16:25:04 +1000 (AEST) Received: from localhost ([::1]:45995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcm58-0006a1-DP for incoming@patchwork.ozlabs.org; Tue, 10 Jul 2018 02:25:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcm4V-0006ZP-HR for qemu-devel@nongnu.org; Tue, 10 Jul 2018 02:24:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcm4R-0005ji-7O for qemu-devel@nongnu.org; Tue, 10 Jul 2018 02:24:23 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:49310) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fcm4Q-0005hz-TD for qemu-devel@nongnu.org; Tue, 10 Jul 2018 02:24:19 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MGbDM-1fpzUe2utE-00DIlJ; Tue, 10 Jul 2018 08:24:08 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 10 Jul 2018 08:23:50 +0200 Message-Id: <20180710062352.9843-2-laurent@vivier.eu> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180710062352.9843-1-laurent@vivier.eu> References: <20180710062352.9843-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:I/zJUkTStmKxykwlYIj2FhzAF4MCr/lVrjPoNb/benQWo0f4PmC 3rArc/30tN8HFWiyh5G4oJtAMgOkL4CdlwIhPchhap1F02wjnReBw/re6e6MuWQ0gjlk9wv bCsolKgDa8q0JRrWWChNEmGwSL416FxruKtXyMEIDHLRL++m/LM4vn5IJFzxTbjKkSpUOE6 +OCr1kwkJt+kKPS0DW/jQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:9YkD4NKrslw=:01cbiYWUzDZxaVmQxfvD/w MdQmO2r+TxLbOkQJcbL7ahtnbJv/96LwhUJ4x0K1jTCNdcjSAjSVCDnUzUwOSbnEi/qKeXX9t MFu7mbJpbvU+ZG76j99kPCm2RG8lANP2T3f9ShkVuHEntGDnP4V3jlJUEgiLfaVF+aexYuLQ2 c30lbDyUPP2h0O8j8a60Xzv0UZ8y1F8MIQ3OvoYzPuVpJw3rAKgMpk426oKd9GK98ohrN/lA2 X4NjD7bulOMkbccY5pcur+EJ0SMOZLHkZoTQWlKHHFCDqEOU4eNClQA3YwnA6+xAqi8JiZYXS 5frmfoENHu4TvXMAYe5Sv4Xh0+qDmv+9uSIBTnUusUcmuThmC8CMMm+noB6Z+48g2wW16EQDh mFtcLhV0H4kGRyVP8nXui8Bm4VGRg3uPRkASNW4IGVpMYUOVyTkDSMo+wccmJt/WuccuuleTe ng1bd3D7STc9OpxcsaRyKXjY+ZpIu56f0uohnXNXEsaiTN2K2RN8cTjQ8wkBKbZoKe98yaDJZ UQXmVdg/qMoHKzEolOf7KQJHNEmGtA8+LZce1BRAuftYMDZUXSj6q1gSp/MdDR2EilIDv7YoM DXoWR9M8CNCLNf5s6UO1BOaP7WqjqMnBRPRW3tm+2ejaeulykmIm7H9xnrtzyp3L691glwFWe LscOCgW6psfa8Wqxi45zySTC7dp6BXwqEEd+1w/lqkxySlC/Kwn/81QX4YAVlSxkxHd/2hGAM qpupjZsm0LsDMBLu X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.130 Subject: [Qemu-devel] [PULL 1/3] linux-user: Do not report "Unsupported syscall" by default X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé This can still be reported using the "-d unimp" command line option. Fixes: https://bugs.launchpad.net/qemu/+bug/1777226 Reported-by: John Paul Adrian Glaubitz Suggested-by: Peter Maydell Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Message-Id: <20180706155127.7483-2-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 5822e03e28..e4b1b7d7da 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -12757,7 +12757,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, default: unimplemented: - gemu_log("qemu: Unsupported syscall: %d\n", num); + qemu_log_mask(LOG_UNIMP, "Unsupported syscall: %d\n", num); #if defined(TARGET_NR_setxattr) || defined(TARGET_NR_get_thread_area) || defined(TARGET_NR_getdomainname) || defined(TARGET_NR_set_robust_list) unimplemented_nowarn: #endif