From nobody Wed Nov 5 09:25:53 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1499470150658262.26686006054535; Fri, 7 Jul 2017 16:29:10 -0700 (PDT) Received: from localhost ([::1]:59194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTcgP-0003Jh-Ca for importer@patchew.org; Fri, 07 Jul 2017 19:29:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dTcbq-000859-Vw for qemu-devel@nongnu.org; Fri, 07 Jul 2017 19:24:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dTcbm-0005Xz-TI for qemu-devel@nongnu.org; Fri, 07 Jul 2017 19:24:26 -0400 Received: from mail-sn1nam02on0052.outbound.protection.outlook.com ([104.47.36.52]:18292 helo=NAM02-SN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dTcbm-0005XR-FC for qemu-devel@nongnu.org; Fri, 07 Jul 2017 19:24:22 -0400 Received: from CY4PR02CA0011.namprd02.prod.outlook.com (10.169.188.21) by SN1PR0201MB1598.namprd02.prod.outlook.com (10.163.130.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Fri, 7 Jul 2017 23:24:17 +0000 Received: from BL2NAM02FT049.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::203) by CY4PR02CA0011.outlook.office365.com (2603:10b6:903:18::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13 via Frontend Transport; Fri, 7 Jul 2017 23:24:16 +0000 Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BL2NAM02FT049.mail.protection.outlook.com (10.152.77.118) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1220.9 via Frontend Transport; Fri, 7 Jul 2017 23:24:15 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1dTcbf-0007XX-3d; Fri, 07 Jul 2017 16:24:15 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1dTcbf-0000ys-04; Fri, 07 Jul 2017 16:24:15 -0700 Received: from xsj-pvapsmtp01 (smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id v67NOBjs021488; Fri, 7 Jul 2017 16:24:12 -0700 Received: from [172.19.2.220] (helo=localhost.localdomain) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1dTcbb-0000yb-R2; Fri, 07 Jul 2017 16:24:11 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jNM97k5PohwCA84SWnmBrCraa0lXs3abN+86abHB7zQ=; b=E3CvgtpYQugNo9zoBwIHoGGWxFlLwl/Dfh8J3U8Nqy7Rt4I5dhNvbZDgI583LK0c5HrbeSn2G03GblcY2/xLPU6six2hd0sFoLvdtLPFgiIy+msgLhqOfxTHVB3ppuMhJXlCTOdWXpIjOc5422+fuTDg7UehL4XWBwR5U3j1x98= Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; From: Alistair Francis To: Date: Fri, 7 Jul 2017 16:21:06 -0700 Message-ID: <125868e788f5705e31c0326bed02bc75f9fb173e.1499453788.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23180.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39840400002)(39450400003)(39850400002)(39400400002)(39410400002)(2980300002)(438002)(189002)(199003)(9170700003)(575784001)(76176999)(53946003)(2906002)(36756003)(33646002)(50986999)(9786002)(2950100002)(626005)(36386004)(54906002)(47776003)(6666003)(4326008)(77096006)(39060400002)(6916009)(2351001)(110136004)(50226002)(38730400002)(7416002)(7406005)(48376002)(50466002)(5003940100001)(189998001)(8936002)(81166006)(5660300001)(106466001)(356003)(8676002)(305945005)(478600001)(118296001)(63266004)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR0201MB1598; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; MLV:ovrnspm; MX:1; A:1; PTR:unknown-60-83.xilinx.com; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT049; 1:pdoWQQiB1cSRYTiIS78aINQw8j5gaKIUnOqXbkpyxEGbnbaJ3y+5LHmuvrXwg3737YtPstvGhKbCcNGcc+a5rFRrVsbcBY1kB8lfCVNtXB/eRsn10bbS7WPZvmgNhqjVa331XKeMz78qMX6EH2dSgzkF4htcOJH/Tj/TkhWIYcVpPi+Jef6HCyGhRH11FKWVNeE5Pte+HGv827ZVq07MrW+TCo4XY6+c86YZDOEqgrSd8UcwEz8Kdn0tJgRGZ7c8QGzCwz4nW6zaIR93JDl02Iini/9g3D96YbnDA4RQMYa4liJWSKA7Sb2Hlby9EaTizkVJvyegSmHOMdaDZ07pcAbPRNQMZv9xVHQhEDr/XzuUBC0nmrblUlduD69prppqGqRpQs+983fovonJr0azGRg272v8NQ59XcETc2hRQmCHooH6DrxVpf+1f3Ag+Tq2wLx/mQHAdeQJ0JkGW8K8U6ZwzHPlzvsfv6yzEIDCEAWFZfx+7gESWjhd+Sl01myc7JXMLa/2iWV4IqXj0PWURD6O02naZE5i14imAlq5l5Qv75qEtEU/028gKnWU+cYyUaAiE/+Q0F4NrnXj+xejdnaEHuASYtBpHvxg+uPRJFnP+9+tLQKasYZm6cw8uYD2S8Uao/RSAcGQzFnhRMCd2Ee9U2wUET9wXISg92yOD7MEVyxB5ZVoLZJla46X8o46yp/PvWjjSeY1vfu/HDb/CybzuShZoOKBLjy/O+OJInHPEEJHcVb1uu4y20sB/qk5C4ig+pbgwDl1Fgdpc2gPp1EurwylYEyshTa8KrAhCtycO9SpdcAuRnZD80TUv/dw548k23qXnshj2u2zjw9PRqOthFu7PeNEk8qMWy3g0pUKdCGddFfhZnsFjcfAVfnm MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0d0fb2ce-f66a-4b1f-0499-08d4c58f4938 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(8251501002)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SN1PR0201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jAhOeXH/77htGxkAshGiIPbfaGEDVnu6vY8WDVAtL/XJdE2d0QUAbwVjGyZGURAfg6OVeWJVtIig0XznXoKpLwHchn6zgpW1 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(125551606395959)(158342451672863)(133145235818549)(236129657087228)(190383065149520)(48057245064654)(192813158149592)(46150409022019)(104084551191319)(167848164394848); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(13016025)(13018025)(5005006)(2017060910070)(3002001)(93006095)(93004095)(100000703101)(100105400095)(10201501046)(6055026)(6041248)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SN1PR0201MB1598; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SN1PR0201MB1598; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0201MB1598; 4:5tDOWZUn8do7MrOx7eRAo3ALPd1gUisforiI80KQ?= =?us-ascii?Q?XVQjR8MNungJuj5IwOP2oIZ/MKUmb/g7agbvfauT870AwebXfnLw6SEGdLhD?= =?us-ascii?Q?yXGdD6sVAYWHktAj9uyXgZflq8gsfc4zVWiH3/kSQj5+DiUurKJLcHEt40Uc?= =?us-ascii?Q?nHoEBkZ3kLjfJ+2aCf/BPwsYoDlP2k0Dt2vPkPelhaGbSPC4iUbMe2Oqligf?= =?us-ascii?Q?WwhUV6ifjNjT6zOUsziCsBDD0wMBH3Y4fpUwC03l/pDuIYS91g/lleKfKsg9?= =?us-ascii?Q?8n7PqaVKeCKZPztSuLByYMcL50qn/wI1P4oTOvKLWuyR2eOhLog1MzQNlcQL?= =?us-ascii?Q?8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dgrNgk0a8iqE+/F26y?= =?us-ascii?Q?jhnsp2OWddN3FviBO+CPT7PRsghYC5Co//cqezn+1kq8YBmDO9ww+ilJnDwh?= =?us-ascii?Q?LZ10j9SZkeRfz6GTElXNCP4/NEhJt17N0ZhUse7klJQAtB6Y/l+ZlchhaM2D?= =?us-ascii?Q?lIi5pOk4odp+K5/87kkORqX7yeH6fGKnHaSZmM78/O+KcDxFwUrllXKcQuIa?= =?us-ascii?Q?iVQKIqD483dGpPaXgH7upKiCxOmmI9wcKsAcoASk9K/BirMrPojfLNL0fAHb?= =?us-ascii?Q?P9tBVThqS+PSY606J/XsncIgeBoTpVawA1u3mLTTJD1G4CKUSwyyzFaKG8bC?= =?us-ascii?Q?7aFB8ukMWsHtviTMuvAngwnDRPjp4sTp3VR47rmpZvSG0OtKdET+o+9QawOk?= X-Forefront-PRVS: 0361212EA8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0201MB1598; 23:4UJLUHKklgw2TRbtUm2bT4avRbYOvxihWcdNoU6?= =?us-ascii?Q?0udT90bVxlkVLzE5SD2KnjPJJ/m+BZzj/SyT3I3cmivW8E3XtHLml6LX6mSc?= =?us-ascii?Q?EHurSFSabQzBFHwTXG+aOSFVvaiJnrQI8xItsU5DiKyUPA/kiijwHh7DFSFd?= =?us-ascii?Q?EzWHyeaN0WuxEF+2VvMTPPTEkfeAT/dYDYttuITzAK0A6apV5v/LklpFmQfm?= =?us-ascii?Q?q20U6euEbvJjOS3Dqhu1uhg5DFCF6sD8IFI+Oz3ATGCpIbLEmtkPlmXcrxVY?= =?us-ascii?Q?Fio8JGcyJ6xkHeUFqdoP5p5zPIt2EKAQ+HZS7DaSrhSlytvyerfm60mf+xpg?= =?us-ascii?Q?mD7lR9vGQzaPA0AQAd4sz0khy8CgIFnrwB+RoDacQEJz2JuTDyp+r9Eoob+p?= =?us-ascii?Q?lToO0OsObppwpom8S6QWKHFA7fsfiZPOoHHBJzBmJtA5V5+6e7NfIzc1XGag?= =?us-ascii?Q?VdAg+Hg+ZPnWXeT+0TZ7hD/ntSPj7yJWL2fTNzSpCeTvSzhYFQCT5G6EYpIo?= =?us-ascii?Q?Z7fXQpU4Vo9ur7nmo24ReygIO7B/s3ANCD+t/+ZAZnAEPrt8aX0aDaC62r7j?= =?us-ascii?Q?4lfsQpDurXmeYMHFk2B24bI63/Keuha9ZNLsLXf0TacrM+9YF+8uldgNhIL4?= =?us-ascii?Q?ZygUOGoRoqYGZbSwzd1fwQLsNpdYD/KrPlLS2eu5wIVHS3QugKxHum/DZ/iN?= =?us-ascii?Q?QNtgrvnlKEx51yMDKqrU01NcN3RtecalD7tAIci+ZfKQIndomr79o/O0ct49?= =?us-ascii?Q?LASpSVeUq1ITyHrpv3J9p9pSve1GFgM/6pC7DbmpBt4iM5QIzCDKt4LtrRak?= =?us-ascii?Q?55vioGqksGS1nlpyPaJpEcqu7JarwpY7Ezlly33+XncxIQ6LB8k8iJUy1ZKS?= =?us-ascii?Q?D+7YzmMmXu0Y73WuVuG4OqYQnf9dPMqCKAmOm/oPqSPH+0oe0CI+AcK85ze6?= =?us-ascii?Q?hr0fGORB53Qc1B0kFciSE5KCeISRzu6Gzt858USjRnA08cOmwUczg7361wak?= =?us-ascii?Q?us67f13Y5elEvxGNd1SMu1USZv/jLivKlGGkzqn0gUgk3CDmqglHFxAt8bHM?= =?us-ascii?Q?FpLcVH3okF+vDxDq5Y38Cai8HQmaVQ2jrU7QvUZUTX705hzvUfj6yMW5lryh?= =?us-ascii?Q?hZ1bB44R2oxA7Evx1Y9Yysb5+YO90lyB9tGxTqBzuQG/BwihDkAc0v5rcHn9?= =?us-ascii?Q?3GYsAHy2tD+jV2xrv2ykNWZR+K56soeNzeK/yRqFPjyKSos2lFtSEwdvv/Q?= =?us-ascii?Q?=3D=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0201MB1598; 6:txcus2tBoYBGkSuq6my1XoVAm1xWmR0ELl7pj/Yc?= =?us-ascii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Dbzzl20JwOdmc6fTCciKjHUA/DUBUpTnYt?= =?us-ascii?Q?jM9zMeAjQrKz5P+T3SA6V60BLvN2UQ17EuLpLx6jO8uoBhktJ9oZp325K+3o?= =?us-ascii?Q?d3xdHESXnlSmxNKiV9JnBvfH?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1598; 5:RGIh6Atn32LSIvDgj4n9VJJaI1heCzdLEmoZZyRBOTLEccoHo2LqcxzceidTYTwNWaf1cHIeenHfAKas5cA2Fg4vTnXrN3nI08kfYGNvwIabgVmmgL6XZ+66yXpsvao0Y56zZsMNzXDs0WM4h7NM07dJRq52UGSESpvyQgc0TsznY99CAGm6gn0R8otwL6LtyhaDFZU0gO/JhAc+tuNsfrOxU6m4SwOKG2NlQ8AZGOGJCpVnpG5/wyg751XQ4H/9C4FIjomEGMTIQSG/0XLLKTmFnajJLj81Ymsiks+r1Gk082KKn39kbKOTVUSrjl/CJlEpOSOhkO1bRq/9R/8j4cLLFO81ohTIUm3qApW7T4NJuYKRyK3GA5RJbbnjT5KjxTwou8hFQAQ0wlSA0Slvrx4ZLO9PRNt+8rGiN/O70suWCzB1OcNniubvXRfjW/4p+tdvyg6OAUXL4ehPY2FdByIL7Pn9GQdEPb2ZTVUJ7j4YtbZPDG3QhAdRfZy7GFKh; 24:SKNwVOSljZNQaLLntwLMPyB5Wr8EQ2szpBSbmuuyIDApglQsNew2tek0PJr8E7Su7pn52ne+9bMW8rx6cAixio/8lndMdakFXOXhkzq7VW4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR0201MB1598; 7:dqKjXz3CXNW7WyfZ0ssOgFUHH46KoVFiuomOo1z0zCcCNrA3TnOkI30lIherQjGSwSVPF3JB655nR5ENCkMmO6OZv7kN0vXttwIA1RKWt65HjbkkhdVjckj4jG4nizkMKGygOryYFNYBhS7hK0J4I4AF1fe18kdFc3mnq/6pt8dpgA0iTYHjifa15LgIF/iGoqfRL19I4gBZQPuRGHrP/x3Bpsj4rwyqSLeeRdIR6nwrp5dtW4g9QQ1F+vps36QNbbU3hpo3xzpttz2i6rtwh6sNp9j/1lN1q8R4ODgQ1+tiG8ZdVEcJzAj5cq3pV65/8GXHuepIPPoROlSEbdVMT+2L4jWvXXuKHNScWTdLHdWSK18Ed/n78YP0YTA9Hg0Y+cMbanc9L/CPua1FjEbvGkogEuGQyM2w5cLbLli/XMVzdfSWfN39vBKA3bqAdG1+17MXkYt61gCCpYBvdQAhV3BgRKlZNGt7guK6DIEP+C+QXWbRjdkmDaFv+85i28zSByDZA10/yBdh9bQXvW5j+7+z/KxX8HRONSk06S8zSJbDYv9hMw4ibLG6JG73llY9MClY389Eu1IUtbqC4Kc4wp+FSozOVX312oTqtrN78stOWCcAMVEfi8lxqlHjNqydkJxHw9O3YHAeOWILtDYynqzJaro9aGzL/YCjNgBLj8YnqguiqTlEEU2Oj48OW1argJK56hPqRXBVj7EBSm/PlAc9JmeiE5s/yM+zIh2kg4g2Hh8gjuIKZvPNsTXBqNNUGsEfGdN0zZdwkYrVq8uBNdugcEc0u/Zxx4kYtfoQKGs= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2017 23:24:15.8141 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0201MB1598 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.36.52 Subject: [Qemu-devel] [PATCH v2 3/8] Convert error_report() to warn_report() 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: Peter Maydell , Cornelia Huck , Stefan Hajnoczi , "Michael S. Tsirkin" , Jeff Cody , Alexander Graf , Gerd Hoffmann , Eduardo Habkost , Rob Herring , Josh Durgin , armbru@redhat.com, Christian Borntraeger , Marcel Apfelbaum , David Gibson , Jason Wang , philippe@mathieu-daude.net, Peter Lieven , Greg Kurz , alistair.francis@xilinx.com, Peter Chubb , Ronnie Sahlberg , Igor Mammedov , alistair23@gmail.com, Richard Henderson , Kevin Wolf , Peter Crosthwaite , Marcelo Tosatti , "Richard W.M. Jones" , Max Reitz , "Aneesh Kumar K.V" , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert all uses of error_report("[Ww]arning:"... to use warn_report() instead. This helps standardise on a single method of printing warnings to the user. All of the warnings were changed using this command: find ./* -type f -exec sed -i \ 's|error_report.*[Ww]arning: |warn_report("|g' {} + Then the white space changes where manually fixed afterwards. The test-qdev-global-props test case was manually updated to ensure that this patch passes make check (as the test cases are case sensitive). Signed-off-by: Alistair Francis Suggested-by: Thomas Huth Cc: Jeff Cody Cc: Kevin Wolf Cc: Max Reitz Cc: Ronnie Sahlberg Cc: Paolo Bonzini Cc: Peter Lieven Cc: Josh Durgin Cc: "Richard W.M. Jones" Cc: Markus Armbruster Cc: Peter Crosthwaite Cc: Richard Henderson Cc: "Aneesh Kumar K.V" Cc: Greg Kurz Cc: Rob Herring Cc: Peter Maydell Cc: Peter Chubb Cc: Eduardo Habkost Cc: Marcel Apfelbaum Cc: "Michael S. Tsirkin" Cc: Igor Mammedov Cc: David Gibson Cc: Alexander Graf Cc: Gerd Hoffmann Cc: Jason Wang Cc: Marcelo Tosatti Cc: Christian Borntraeger Cc: Cornelia Huck Cc: Stefan Hajnoczi Acked-by: David Gibson Acked-by: Greg Kurz Acked-by: Cornelia Huck Reviewed-by: Stefan Hajnoczi Acked-by: Max Reitz --- V2: - Fix quotation issues - Update commit message - Include full command block/backup.c | 10 +++++----- block/gluster.c | 2 +- block/iscsi.c | 6 +++--- block/nfs.c | 12 ++++++------ block/rbd.c | 6 +++--- block/ssh.c | 4 ++-- blockdev.c | 2 +- cpus.c | 2 +- hw/9pfs/9p.c | 2 +- hw/arm/highbank.c | 6 +++--- hw/arm/imx25_pdk.c | 6 +++--- hw/arm/kzm.c | 6 +++--- hw/core/machine.c | 10 +++++----- hw/core/qdev-properties.c | 8 ++++---- hw/i386/acpi-build.c | 10 +++++----- hw/i386/kvm/pci-assign.c | 6 +++--- hw/i386/pc.c | 12 ++++++------ hw/i386/pc_piix.c | 8 ++++---- hw/i386/pc_q35.c | 6 +++--- hw/misc/aspeed_sdmc.c | 8 ++++---- hw/nvram/fw_cfg.c | 2 +- hw/pci-host/piix.c | 2 +- hw/ppc/pnv.c | 6 +++--- hw/ppc/spapr.c | 4 ++-- hw/ppc/spapr_iommu.c | 2 +- hw/scsi/scsi-bus.c | 6 +++--- hw/usb/dev-smartcard-reader.c | 6 +++--- hw/usb/redirect.c | 2 +- net/tap-linux.c | 2 +- target/i386/cpu.c | 22 +++++++++++----------- target/i386/kvm.c | 12 ++++++------ target/s390x/cpu_models.c | 6 +++--- target/s390x/kvm.c | 4 ++-- tests/test-qdev-global-props.c | 6 +++--- trace/control.c | 8 ++++---- vl.c | 20 ++++++++++---------- 36 files changed, 121 insertions(+), 121 deletions(-) diff --git a/block/backup.c b/block/backup.c index 5387fbd84e..a0f059a0b6 100644 --- a/block/backup.c +++ b/block/backup.c @@ -657,11 +657,11 @@ BlockJob *backup_job_create(const char *job_id, Block= DriverState *bs, ret =3D bdrv_get_info(target, &bdi); if (ret =3D=3D -ENOTSUP && !target->backing) { /* Cluster size is not defined */ - error_report("WARNING: The target block device doesn't provide " - "information about the block size and it doesn't have= a " - "backing file. The default block size of %u bytes is " - "used. If the actual block size of the target exceeds= " - "this default, the backup may be unusable", + warn_report("The target block device doesn't provide " + "information about the block size and it doesn't have = a " + "backing file. The default block size of %u bytes is " + "used. If the actual block size of the target exceeds " + "this default, the backup may be unusable", BACKUP_CLUSTER_SIZE_DEFAULT); job->cluster_size =3D BACKUP_CLUSTER_SIZE_DEFAULT; } else if (ret < 0 && !target->backing) { diff --git a/block/gluster.c b/block/gluster.c index addceed6eb..531e72df56 100644 --- a/block/gluster.c +++ b/block/gluster.c @@ -345,7 +345,7 @@ static int qemu_gluster_parse_uri(BlockdevOptionsGluste= r *gconf, is_unix =3D true; } else if (!strcmp(uri->scheme, "gluster+rdma")) { gsconf->type =3D SOCKET_ADDRESS_TYPE_INET; - error_report("Warning: rdma feature is not supported, falling " + warn_report("rdma feature is not supported, falling " "back to tcp"); } else { ret =3D -EINVAL; diff --git a/block/iscsi.c b/block/iscsi.c index 54067e2620..3aa438a0b7 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -1761,9 +1761,9 @@ static int iscsi_open(BlockDriverState *bs, QDict *op= tions, int flags, * filename encoded options */ filename =3D qdict_get_try_str(options, "filename"); if (filename) { - error_report("Warning: 'filename' option specified. " - "This is an unsupported option, and may be deprecate= d " - "in the future"); + warn_report("'filename' option specified. " + "This is an unsupported option, and may be deprecated " + "in the future"); iscsi_parse_filename(filename, options, &local_err); if (local_err) { ret =3D -EINVAL; diff --git a/block/nfs.c b/block/nfs.c index c3c5de0113..43929c6f23 100644 --- a/block/nfs.c +++ b/block/nfs.c @@ -558,8 +558,8 @@ static int64_t nfs_client_open(NFSClient *client, QDict= *options, } client->readahead =3D qemu_opt_get_number(opts, "readahead-size", = 0); if (client->readahead > QEMU_NFS_MAX_READAHEAD_SIZE) { - error_report("NFS Warning: Truncating NFS readahead " - "size to %d", QEMU_NFS_MAX_READAHEAD_SIZE); + warn_report("Truncating NFS readahead " + "size to %d", QEMU_NFS_MAX_READAHEAD_SIZE); client->readahead =3D QEMU_NFS_MAX_READAHEAD_SIZE; } nfs_set_readahead(client->context, client->readahead); @@ -579,8 +579,8 @@ static int64_t nfs_client_open(NFSClient *client, QDict= *options, } client->pagecache =3D qemu_opt_get_number(opts, "page-cache-size",= 0); if (client->pagecache > QEMU_NFS_MAX_PAGECACHE_SIZE) { - error_report("NFS Warning: Truncating NFS pagecache " - "size to %d pages", QEMU_NFS_MAX_PAGECACHE_SIZE); + warn_report("Truncating NFS pagecache " + "size to %d pages", QEMU_NFS_MAX_PAGECACHE_SIZE); client->pagecache =3D QEMU_NFS_MAX_PAGECACHE_SIZE; } nfs_set_pagecache(client->context, client->pagecache); @@ -595,8 +595,8 @@ static int64_t nfs_client_open(NFSClient *client, QDict= *options, /* limit the maximum debug level to avoid potential flooding * of our log files. */ if (client->debug > QEMU_NFS_MAX_DEBUG_LEVEL) { - error_report("NFS Warning: Limiting NFS debug level " - "to %d", QEMU_NFS_MAX_DEBUG_LEVEL); + warn_report("Limiting NFS debug level " + "to %d", QEMU_NFS_MAX_DEBUG_LEVEL); client->debug =3D QEMU_NFS_MAX_DEBUG_LEVEL; } nfs_set_debug(client->context, client->debug); diff --git a/block/rbd.c b/block/rbd.c index 9da02cdceb..d461f7dc87 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -555,9 +555,9 @@ static int qemu_rbd_open(BlockDriverState *bs, QDict *o= ptions, int flags, * filename encoded options */ filename =3D qdict_get_try_str(options, "filename"); if (filename) { - error_report("Warning: 'filename' option specified. " - "This is an unsupported option, and may be deprecate= d " - "in the future"); + warn_report("'filename' option specified. " + "This is an unsupported option, and may be deprecated " + "in the future"); qemu_rbd_parse_filename(filename, options, &local_err); if (local_err) { r =3D -EINVAL; diff --git a/block/ssh.c b/block/ssh.c index 52964416da..07a57eb466 100644 --- a/block/ssh.c +++ b/block/ssh.c @@ -1114,8 +1114,8 @@ static coroutine_fn int ssh_co_writev(BlockDriverStat= e *bs, static void unsafe_flush_warning(BDRVSSHState *s, const char *what) { if (!s->unsafe_flush_warning) { - error_report("warning: ssh server %s does not support fsync", - s->inet->host); + warn_report("ssh server %s does not support fsync", + s->inet->host); if (what) { error_report("to support fsync, you need %s", what); } diff --git a/blockdev.c b/blockdev.c index f92dcf24bf..46428af3c8 100644 --- a/blockdev.c +++ b/blockdev.c @@ -900,7 +900,7 @@ DriveInfo *drive_new(QemuOpts *all_opts, BlockInterface= Type block_default_type) copy_on_read =3D qemu_opt_get_bool(legacy_opts, "copy-on-read", false); =20 if (read_only && copy_on_read) { - error_report("warning: disabling copy-on-read on read-only drive"); + warn_report("disabling copy-on-read on read-only drive"); copy_on_read =3D false; } =20 diff --git a/cpus.c b/cpus.c index 14bb8d552e..9bed61eefc 100644 --- a/cpus.c +++ b/cpus.c @@ -557,7 +557,7 @@ void qemu_start_warp_timer(void) if (deadline < 0) { static bool notified; if (!icount_sleep && !notified) { - error_report("WARNING: icount sleep disabled and no active tim= ers"); + warn_report("icount sleep disabled and no active timers"); notified =3D true; } return; diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c index 6c92bad5b3..333dbb6f8e 100644 --- a/hw/9pfs/9p.c +++ b/hw/9pfs/9p.c @@ -2376,7 +2376,7 @@ static void coroutine_fn v9fs_flush(void *opaque) trace_v9fs_flush(pdu->tag, pdu->id, tag); =20 if (pdu->tag =3D=3D tag) { - error_report("Warning: the guest sent a self-referencing 9P flush = request"); + warn_report("the guest sent a self-referencing 9P flush request"); } else { QLIST_FOREACH(cancel_pdu, &s->active_list, next) { if (cancel_pdu->tag =3D=3D tag) { diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c index d209b97dee..750c463e2a 100644 --- a/hw/arm/highbank.c +++ b/hw/arm/highbank.c @@ -383,9 +383,9 @@ static void calxeda_init(MachineState *machine, enum cx= machines machine_id) highbank_binfo.write_board_setup =3D hb_write_board_setup; highbank_binfo.secure_board_setup =3D true; } else { - error_report("WARNING: cannot load built-in Monitor support " - "if KVM is enabled. Some guests (such as Linux) " - "may not boot."); + warn_report("cannot load built-in Monitor support " + "if KVM is enabled. Some guests (such as Linux) " + "may not boot."); } =20 arm_load_kernel(ARM_CPU(first_cpu), &highbank_binfo); diff --git a/hw/arm/imx25_pdk.c b/hw/arm/imx25_pdk.c index 44e741fde3..7d42c74001 100644 --- a/hw/arm/imx25_pdk.c +++ b/hw/arm/imx25_pdk.c @@ -80,9 +80,9 @@ static void imx25_pdk_init(MachineState *machine) =20 /* We need to initialize our memory */ if (machine->ram_size > (FSL_IMX25_SDRAM0_SIZE + FSL_IMX25_SDRAM1_SIZE= )) { - error_report("WARNING: RAM size " RAM_ADDR_FMT " above max support= ed, " - "reduced to %x", machine->ram_size, - FSL_IMX25_SDRAM0_SIZE + FSL_IMX25_SDRAM1_SIZE); + warn_report("RAM size " RAM_ADDR_FMT " above max supported, " + "reduced to %x", machine->ram_size, + FSL_IMX25_SDRAM0_SIZE + FSL_IMX25_SDRAM1_SIZE); machine->ram_size =3D FSL_IMX25_SDRAM0_SIZE + FSL_IMX25_SDRAM1_SIZ= E; } =20 diff --git a/hw/arm/kzm.c b/hw/arm/kzm.c index 2c96ee33b6..3ed6577a55 100644 --- a/hw/arm/kzm.c +++ b/hw/arm/kzm.c @@ -79,9 +79,9 @@ static void kzm_init(MachineState *machine) =20 /* Check the amount of memory is compatible with the SOC */ if (machine->ram_size > (FSL_IMX31_SDRAM0_SIZE + FSL_IMX31_SDRAM1_SIZE= )) { - error_report("WARNING: RAM size " RAM_ADDR_FMT " above max support= ed, " - "reduced to %x", machine->ram_size, - FSL_IMX31_SDRAM0_SIZE + FSL_IMX31_SDRAM1_SIZE); + warn_report("RAM size " RAM_ADDR_FMT " above max supported, " + "reduced to %x", machine->ram_size, + FSL_IMX31_SDRAM0_SIZE + FSL_IMX31_SDRAM1_SIZE); machine->ram_size =3D FSL_IMX31_SDRAM0_SIZE + FSL_IMX31_SDRAM1_SIZ= E; } =20 diff --git a/hw/core/machine.c b/hw/core/machine.c index ecb55528e8..dc431fabf5 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -741,11 +741,11 @@ static void machine_numa_finish_init(MachineState *ma= chine) } } if (s->len && !qtest_enabled()) { - error_report("warning: CPU(s) not present in any NUMA nodes: %s", - s->str); - error_report("warning: All CPU(s) up to maxcpus should be describe= d " - "in NUMA config, ability to start up with partial NUM= A " - "mappings is obsoleted and will be removed in future"= ); + warn_report("CPU(s) not present in any NUMA nodes: %s", + s->str); + warn_report("All CPU(s) up to maxcpus should be described " + "in NUMA config, ability to start up with partial NUMA= " + "mappings is obsoleted and will be removed in future"); } g_string_free(s, true); } diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c index f11d57831b..f5983c83da 100644 --- a/hw/core/qdev-properties.c +++ b/hw/core/qdev-properties.c @@ -1132,15 +1132,15 @@ int qdev_prop_check_globals(void) oc =3D object_class_by_name(prop->driver); oc =3D object_class_dynamic_cast(oc, TYPE_DEVICE); if (!oc) { - error_report("Warning: global %s.%s has invalid class name", - prop->driver, prop->property); + warn_report("global %s.%s has invalid class name", + prop->driver, prop->property); ret =3D 1; continue; } dc =3D DEVICE_CLASS(oc); if (!dc->hotpluggable && !prop->used) { - error_report("Warning: global %s.%s=3D%s not used", - prop->driver, prop->property, prop->value); + warn_report("global %s.%s=3D%s not used", + prop->driver, prop->property, prop->value); ret =3D 1; continue; } diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index 5464977424..6b7bade183 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -2766,17 +2766,17 @@ void acpi_build(AcpiBuildTables *tables, MachineSta= te *machine) ACPI_BUILD_ALIGN_SIZE); if (tables_blob->len > legacy_table_size) { /* Should happen only with PCI bridges and -M pc-i440fx-2.0. = */ - error_report("Warning: migration may not work."); + warn_report("migration may not work."); } g_array_set_size(tables_blob, legacy_table_size); } else { /* Make sure we have a buffer in case we need to resize the tables= . */ if (tables_blob->len > ACPI_BUILD_TABLE_SIZE / 2) { /* As of QEMU 2.1, this fires with 160 VCPUs and 255 memory sl= ots. */ - error_report("Warning: ACPI tables are larger than 64k."); - error_report("Warning: migration may not work."); - error_report("Warning: please remove CPUs, NUMA nodes, " - "memory slots or PCI bridges."); + warn_report("ACPI tables are larger than 64k."); + warn_report("migration may not work."); + warn_report("please remove CPUs, NUMA nodes, " + "memory slots or PCI bridges."); } acpi_align_size(tables_blob, ACPI_BUILD_TABLE_SIZE); } diff --git a/hw/i386/kvm/pci-assign.c b/hw/i386/kvm/pci-assign.c index 9f2615cbe0..33e20cb3e8 100644 --- a/hw/i386/kvm/pci-assign.c +++ b/hw/i386/kvm/pci-assign.c @@ -1353,9 +1353,9 @@ static int assigned_device_pci_cap_init(PCIDevice *pc= i_dev, Error **errp) PCI_CAP_ID_EXP); return -EINVAL; } else if (size !=3D 0x3c) { - error_report("WARNING, %s: PCIe cap-id 0x%x has " - "non-standard size 0x%x; std size should be 0= x3c", - __func__, PCI_CAP_ID_EXP, size); + warn_report("%s: PCIe cap-id 0x%x has " + "non-standard size 0x%x; std size should be 0x= 3c", + __func__, PCI_CAP_ID_EXP, size); } } else if (version =3D=3D 0) { uint16_t vid, did; diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 224fe58fe7..58f8a4f4a5 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -381,8 +381,8 @@ ISADevice *pc_find_fdc0(void) } =20 if (state.multiple) { - error_report("warning: multiple floppy disk controllers with " - "iobase=3D0x3f0 have been found"); + warn_report("multiple floppy disk controllers with " + "iobase=3D0x3f0 have been found"); error_printf("the one being picked for CMOS setup might not reflec= t " "your intent\n"); } @@ -1310,7 +1310,7 @@ void pc_acpi_init(const char *default_dsdt) =20 filename =3D qemu_find_file(QEMU_FILE_TYPE_BIOS, default_dsdt); if (filename =3D=3D NULL) { - fprintf(stderr, "WARNING: failed to find %s\n", default_dsdt); + warn_report("failed to find %s", default_dsdt); } else { QemuOpts *opts =3D qemu_opts_create(qemu_find_opts("acpi"), NULL, = 0, &error_abort); @@ -2087,9 +2087,9 @@ static void pc_machine_set_max_ram_below_4g(Object *o= bj, Visitor *v, } =20 if (value < (1ULL << 20)) { - error_report("Warning: small max_ram_below_4g(%"PRIu64 - ") less than 1M. BIOS may not work..", - value); + warn_report("small max_ram_below_4g(%"PRIu64 + ") less than 1M. BIOS may not work..", + value); } =20 pcms->max_ram_below_4g =3D value; diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c index 22dbef64c6..11b4336a42 100644 --- a/hw/i386/pc_piix.c +++ b/hw/i386/pc_piix.c @@ -131,10 +131,10 @@ static void pc_init1(MachineState *machine, lowmem =3D 0xc0000000; } if (lowmem & ((1ULL << 30) - 1)) { - error_report("Warning: Large machine and max_ram_below= _4g " - "(%" PRIu64 ") not a multiple of 1G; " - "possible bad performance.", - pcms->max_ram_below_4g); + warn_report("Large machine and max_ram_below_4g " + "(%" PRIu64 ") not a multiple of 1G; " + "possible bad performance.", + pcms->max_ram_below_4g); } } } diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 8f696b7cb6..1653a47f0a 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -101,9 +101,9 @@ static void pc_q35_init(MachineState *machine) lowmem =3D pcms->max_ram_below_4g; if (machine->ram_size - lowmem > lowmem && lowmem & ((1ULL << 30) - 1)) { - error_report("Warning: Large machine and max_ram_below_4g(%"PR= Iu64 - ") not a multiple of 1G; possible bad performance= .", - pcms->max_ram_below_4g); + warn_report("Large machine and max_ram_below_4g(%"PRIu64 + ") not a multiple of 1G; possible bad performance.= ", + pcms->max_ram_below_4g); } } =20 diff --git a/hw/misc/aspeed_sdmc.c b/hw/misc/aspeed_sdmc.c index 5f3ac0b6f6..633fa4510e 100644 --- a/hw/misc/aspeed_sdmc.c +++ b/hw/misc/aspeed_sdmc.c @@ -157,8 +157,8 @@ static int ast2400_rambits(AspeedSDMCState *s) } =20 /* use a common default */ - error_report("warning: Invalid RAM size 0x%" PRIx64 - ". Using default 256M", s->ram_size); + warn_report("Invalid RAM size 0x%" PRIx64 + ". Using default 256M", s->ram_size); s->ram_size =3D 256 << 20; return ASPEED_SDMC_DRAM_256MB; } @@ -179,8 +179,8 @@ static int ast2500_rambits(AspeedSDMCState *s) } =20 /* use a common default */ - error_report("warning: Invalid RAM size 0x%" PRIx64 - ". Using default 512M", s->ram_size); + warn_report("Invalid RAM size 0x%" PRIx64 + ". Using default 512M", s->ram_size); s->ram_size =3D 512 << 20; return ASPEED_SDMC_AST2500_512MB; } diff --git a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c index 99bdbc2233..e881e3b812 100644 --- a/hw/nvram/fw_cfg.c +++ b/hw/nvram/fw_cfg.c @@ -781,7 +781,7 @@ static int get_fw_cfg_order(FWCfgState *s, const char *= name) } =20 /* Stick unknown stuff at the end. */ - error_report("warning: Unknown firmware file in legacy mode: %s", name= ); + warn_report("Unknown firmware file in legacy mode: %s", name); return FW_CFG_ORDER_OVERRIDE_LAST; } =20 diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c index a2c1033dbe..072a04e318 100644 --- a/hw/pci-host/piix.c +++ b/hw/pci-host/piix.c @@ -307,7 +307,7 @@ static void i440fx_realize(PCIDevice *dev, Error **errp) dev->config[I440FX_SMRAM] =3D 0x02; =20 if (object_property_get_bool(qdev_get_machine(), "iommu", NULL)) { - error_report("warning: i440fx doesn't support emulated iommu"); + warn_report("i440fx doesn't support emulated iommu"); } } =20 diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c index a4cd733cba..47221158d4 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -160,13 +160,13 @@ static void powernv_create_core_node(PnvChip *chip, P= nvCore *pc, void *fdt) _FDT((fdt_setprop_cell(fdt, offset, "d-cache-size", pcc->l1_dcache_size))); } else { - error_report("Warning: Unknown L1 dcache size for cpu"); + warn_report("Unknown L1 dcache size for cpu"); } if (pcc->l1_icache_size) { _FDT((fdt_setprop_cell(fdt, offset, "i-cache-size", pcc->l1_icache_size))); } else { - error_report("Warning: Unknown L1 icache size for cpu"); + warn_report("Unknown L1 icache size for cpu"); } =20 _FDT((fdt_setprop_cell(fdt, offset, "timebase-frequency", tbfreq))); @@ -556,7 +556,7 @@ static void ppc_powernv_init(MachineState *machine) =20 /* allocate RAM */ if (machine->ram_size < (1 * G_BYTE)) { - error_report("Warning: skiboot may not work with < 1GB of RAM"); + warn_report("skiboot may not work with < 1GB of RAM"); } =20 ram =3D g_new(MemoryRegion, 1); diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 0ee9fac50b..fdd55d4820 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -534,13 +534,13 @@ static void spapr_populate_cpu_dt(CPUState *cs, void = *fdt, int offset, _FDT((fdt_setprop_cell(fdt, offset, "d-cache-size", pcc->l1_dcache_size))); } else { - error_report("Warning: Unknown L1 dcache size for cpu"); + warn_report("Unknown L1 dcache size for cpu"); } if (pcc->l1_icache_size) { _FDT((fdt_setprop_cell(fdt, offset, "i-cache-size", pcc->l1_icache_size))); } else { - error_report("Warning: Unknown L1 icache size for cpu"); + warn_report("Unknown L1 icache size for cpu"); } =20 _FDT((fdt_setprop_cell(fdt, offset, "timebase-frequency", tbfreq))); diff --git a/hw/ppc/spapr_iommu.c b/hw/ppc/spapr_iommu.c index 8656a54a3e..583afc1a46 100644 --- a/hw/ppc/spapr_iommu.c +++ b/hw/ppc/spapr_iommu.c @@ -334,7 +334,7 @@ void spapr_tce_table_enable(sPAPRTCETable *tcet, uint32_t nb_table) { if (tcet->nb_table) { - error_report("Warning: trying to enable already enabled TCE table"= ); + warn_report("trying to enable already enabled TCE table"); return; } =20 diff --git a/hw/scsi/scsi-bus.c b/hw/scsi/scsi-bus.c index f5574469c8..23c51de66a 100644 --- a/hw/scsi/scsi-bus.c +++ b/hw/scsi/scsi-bus.c @@ -282,9 +282,9 @@ void scsi_bus_legacy_handle_cmdline(SCSIBus *bus, bool = deprecated) continue; /* claimed */ } if (!dinfo->is_default) { - error_report("warning: bus=3D%d,unit=3D%d is deprecated wi= th this" - " machine type", - bus->busnr, unit); + warn_report("bus=3D%d,unit=3D%d is deprecated with this" + " machine type", + bus->busnr, unit); } } scsi_bus_legacy_add_drive(bus, blk_by_legacy_dinfo(dinfo), diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c index 49cb1829b5..bef1f03c42 100644 --- a/hw/usb/dev-smartcard-reader.c +++ b/hw/usb/dev-smartcard-reader.c @@ -1314,12 +1314,12 @@ static int ccid_card_init(DeviceState *qdev) int ret =3D 0; =20 if (card->slot !=3D 0) { - error_report("Warning: usb-ccid supports one slot, can't add %d", - card->slot); + warn_report("usb-ccid supports one slot, can't add %d", + card->slot); return -1; } if (s->card !=3D NULL) { - error_report("Warning: usb-ccid card already full, not adding"); + warn_report("usb-ccid card already full, not adding"); return -1; } ret =3D ccid_card_initfn(card); diff --git a/hw/usb/redirect.c b/hw/usb/redirect.c index aa22d69216..5b65965cc2 100644 --- a/hw/usb/redirect.c +++ b/hw/usb/redirect.c @@ -193,7 +193,7 @@ static void usbredir_handle_status(USBRedirDevice *dev,= USBPacket *p, #define WARNING(...) \ do { \ if (dev->debug >=3D usbredirparser_warning) { \ - error_report("usb-redir warning: " __VA_ARGS__); \ + warn_report("" __VA_ARGS__); \ } \ } while (0) #define INFO(...) \ diff --git a/net/tap-linux.c b/net/tap-linux.c index a503fa9c6e..535b1ddb61 100644 --- a/net/tap-linux.c +++ b/net/tap-linux.c @@ -55,7 +55,7 @@ int tap_open(char *ifname, int ifname_size, int *vnet_hdr, ifr.ifr_flags =3D IFF_TAP | IFF_NO_PI; =20 if (ioctl(fd, TUNGETFEATURES, &features) =3D=3D -1) { - error_report("warning: TUNGETFEATURES failed: %s", strerror(errno)= ); + warn_report("TUNGETFEATURES failed: %s", strerror(errno)); features =3D 0; } =20 diff --git a/target/i386/cpu.c b/target/i386/cpu.c index c57177278b..da942d91c7 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -2060,15 +2060,15 @@ static void x86_cpu_parse_featurestr(const char *ty= pename, char *features, name =3D featurestr; =20 if (g_list_find_custom(plus_features, name, compare_string)) { - error_report("warning: Ambiguous CPU model string. " - "Don't mix both \"+%s\" and \"%s=3D%s\"", - name, name, val); + warn_report("Ambiguous CPU model string. " + "Don't mix both \"+%s\" and \"%s=3D%s\"", + name, name, val); ambiguous =3D true; } if (g_list_find_custom(minus_features, name, compare_string)) { - error_report("warning: Ambiguous CPU model string. " - "Don't mix both \"-%s\" and \"%s=3D%s\"", - name, name, val); + warn_report("Ambiguous CPU model string. " + "Don't mix both \"-%s\" and \"%s=3D%s\"", + name, name, val); ambiguous =3D true; } =20 @@ -2096,8 +2096,8 @@ static void x86_cpu_parse_featurestr(const char *type= name, char *features, } =20 if (ambiguous) { - error_report("warning: Compatibility of ambiguous CPU model " - "strings won't be kept on future QEMU versions"); + warn_report("Compatibility of ambiguous CPU model " + "strings won't be kept on future QEMU versions"); } } =20 @@ -3547,9 +3547,9 @@ static void x86_cpu_realizefn(DeviceState *dev, Error= **errp) */ if (cpu->phys_bits !=3D host_phys_bits && cpu->phys_bits !=3D = 0 && !warned) { - error_report("Warning: Host physical bits (%u)" - " does not match phys-bits property (%u)", - host_phys_bits, cpu->phys_bits); + warn_report("Host physical bits (%u)" + " does not match phys-bits property (%u)", + host_phys_bits, cpu->phys_bits); warned =3D true; } =20 diff --git a/target/i386/kvm.c b/target/i386/kvm.c index f84a49d366..a6613e19f2 100644 --- a/target/i386/kvm.c +++ b/target/i386/kvm.c @@ -600,10 +600,10 @@ static int kvm_arch_set_tsc_khz(CPUState *cs) kvm_vcpu_ioctl(cs, KVM_GET_TSC_KHZ) : -ENOTSUP; if (cur_freq <=3D 0 || cur_freq !=3D env->tsc_khz) { - error_report("warning: TSC frequency mismatch between " - "VM (%" PRId64 " kHz) and host (%d kHz), " - "and TSC scaling unavailable", - env->tsc_khz, cur_freq); + warn_report("TSC frequency mismatch between " + "VM (%" PRId64 " kHz) and host (%d kHz), " + "and TSC scaling unavailable", + env->tsc_khz, cur_freq); return r; } } @@ -919,8 +919,8 @@ int kvm_arch_init_vcpu(CPUState *cs) error_report("kvm: LMCE not supported"); return -ENOTSUP; } - error_report("warning: Unsupported MCG_CAP bits: 0x%" PRIx64, - unsupported_caps); + warn_report("Unsupported MCG_CAP bits: 0x%" PRIx64, + unsupported_caps); } =20 env->mcg_cap &=3D mcg_cap | MCG_CAP_BANKS_MASK; diff --git a/target/s390x/cpu_models.c b/target/s390x/cpu_models.c index 7cb55dc7e3..f56d57b8c2 100644 --- a/target/s390x/cpu_models.c +++ b/target/s390x/cpu_models.c @@ -677,9 +677,9 @@ static void check_consistency(const S390CPUModel *model) for (i =3D 0; i < ARRAY_SIZE(dep); i++) { if (test_bit(dep[i][0], model->features) && !test_bit(dep[i][1], model->features)) { - error_report("Warning: \'%s\' requires \'%s\'.", - s390_feat_def(dep[i][0])->name, - s390_feat_def(dep[i][1])->name); + warn_report("\'%s\' requires \'%s\'.", + s390_feat_def(dep[i][0])->name, + s390_feat_def(dep[i][1])->name); } } } diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c index a3d00196f4..271bd6581f 100644 --- a/target/s390x/kvm.c +++ b/target/s390x/kvm.c @@ -2675,8 +2675,8 @@ void kvm_s390_apply_cpu_model(const S390CPUModel *mod= el, Error **errp) /* enable CMM via CMMA - disable on hugetlbfs */ if (test_bit(S390_FEAT_CMM, model->features)) { if (mem_path) { - error_report("Warning: CMM will not be enabled because it is n= ot " - "compatible to hugetlbfs."); + warn_report("CMM will not be enabled because it is not " + "compatible to hugetlbfs."); } else { kvm_s390_enable_cmma(); } diff --git a/tests/test-qdev-global-props.c b/tests/test-qdev-global-props.c index 48e5b7315f..b25fe892ed 100644 --- a/tests/test-qdev-global-props.c +++ b/tests/test-qdev-global-props.c @@ -232,10 +232,10 @@ static void test_dynamic_globalprop(void) g_test_trap_assert_passed(); g_test_trap_assert_stderr_unmatched("*prop1*"); g_test_trap_assert_stderr_unmatched("*prop2*"); - g_test_trap_assert_stderr("*Warning: global dynamic-prop-type-bad.prop= 3 has invalid class name\n*"); + g_test_trap_assert_stderr("*warning: global dynamic-prop-type-bad.prop= 3 has invalid class name\n*"); g_test_trap_assert_stderr_unmatched("*prop4*"); - g_test_trap_assert_stderr("*Warning: global nohotplug-type.prop5=3D105= not used\n*"); - g_test_trap_assert_stderr("*Warning: global nondevice-type.prop6 has i= nvalid class name\n*"); + g_test_trap_assert_stderr("*warning: global nohotplug-type.prop5=3D105= not used\n*"); + g_test_trap_assert_stderr("*warning: global nondevice-type.prop6 has i= nvalid class name\n*"); g_test_trap_assert_stdout(""); } =20 diff --git a/trace/control.c b/trace/control.c index 9b157b0ca7..f5fb11d280 100644 --- a/trace/control.c +++ b/trace/control.c @@ -171,8 +171,8 @@ static void do_trace_enable_events(const char *line_buf) while ((ev =3D trace_event_iter_next(&iter)) !=3D NULL) { if (!trace_event_get_state_static(ev)) { if (!is_pattern) { - error_report("WARNING: trace event '%s' is not traceable", - line_ptr); + warn_report("trace event '%s' is not traceable", + line_ptr); return; } continue; @@ -186,8 +186,8 @@ static void do_trace_enable_events(const char *line_buf) } =20 if (!is_pattern) { - error_report("WARNING: trace event '%s' does not exist", - line_ptr); + warn_report("trace event '%s' does not exist", + line_ptr); } } =20 diff --git a/vl.c b/vl.c index d17c863409..d5342fe816 100644 --- a/vl.c +++ b/vl.c @@ -952,8 +952,8 @@ static void bt_vhci_add(int vlan_id) struct bt_scatternet_s *vlan =3D qemu_find_bt_vlan(vlan_id); =20 if (!vlan->slave) - error_report("warning: adding a VHCI to an empty scatternet %i", - vlan_id); + warn_report("adding a VHCI to an empty scatternet %i", + vlan_id); =20 bt_vhci_init(bt_new_hci(vlan)); } @@ -979,8 +979,8 @@ static struct bt_device_s *bt_device_add(const char *op= t) vlan =3D qemu_find_bt_vlan(vlan_id); =20 if (!vlan->slave) - error_report("warning: adding a slave device to an empty scatterne= t %i", - vlan_id); + warn_report("adding a slave device to an empty scatternet %i", + vlan_id); =20 if (!strcmp(devname, "keyboard")) return bt_keyboard_init(vlan); @@ -2302,8 +2302,8 @@ static int parse_fw_cfg(void *opaque, QemuOpts *opts,= Error **errp) return -1; } if (strncmp(name, "opt/", 4) !=3D 0) { - error_report("warning: externally provided fw_cfg item names " - "should be prefixed with \"opt/\""); + warn_report("externally provided fw_cfg item names " + "should be prefixed with \"opt/\""); } if (nonempty_str(str)) { size =3D strlen(str); /* NUL terminator NOT included in fw_cfg blo= b */ @@ -3760,7 +3760,7 @@ int main(int argc, char **argv, char **envp) qemu_opts_parse_noisily(olist, "accel=3Dtcg", false); break; case QEMU_OPTION_no_kvm_pit: { - error_report("warning: ignoring deprecated option"); + warn_report("ignoring deprecated option"); break; } case QEMU_OPTION_no_kvm_pit_reinjection: { @@ -3770,8 +3770,8 @@ int main(int argc, char **argv, char **envp) .value =3D "discard", }; =20 - error_report("warning: deprecated, replaced by " - "-global kvm-pit.lost_tick_policy=3Ddiscard"); + warn_report("deprecated, replaced by " + "-global kvm-pit.lost_tick_policy=3Ddiscard"); qdev_prop_register_global(&kvm_pit_lost_tick_policy); break; } @@ -3896,7 +3896,7 @@ int main(int argc, char **argv, char **envp) } break; case QEMU_OPTION_tdf: - error_report("warning: ignoring deprecated option"); + warn_report("ignoring deprecated option"); break; case QEMU_OPTION_name: opts =3D qemu_opts_parse_noisily(qemu_find_opts("name"), --=20 2.11.0