From patchwork Thu Oct 19 16:15:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 828192 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; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=xilinx.onmicrosoft.com header.i=@xilinx.onmicrosoft.com header.b="giAGcWWN"; dkim-atps=neutral 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 3yHvKw0P8Qz9t4P for ; Fri, 20 Oct 2017 03:20:36 +1100 (AEDT) Received: from localhost ([::1]:50054 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5DYg-0003uk-2t for incoming@patchwork.ozlabs.org; Thu, 19 Oct 2017 12:20:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e5DXw-0003s1-QJ for qemu-devel@nongnu.org; Thu, 19 Oct 2017 12:19:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e5DXt-0000ir-Do for qemu-devel@nongnu.org; Thu, 19 Oct 2017 12:19:48 -0400 Received: from mail-by2nam03on0084.outbound.protection.outlook.com ([104.47.42.84]:22800 helo=NAM03-BY2-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 1e5DXs-0000g5-SZ for qemu-devel@nongnu.org; Thu, 19 Oct 2017 12:19:45 -0400 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=MMUQ0BDQqInfkLv60Y9z4HXx+ITHdbdfQj60u71ZyDo=; b=giAGcWWNEhhnJf9t33MIe/g6iIwmuTtocPiQiwBYEuxX2LI4lq4vy2vHZ4Njttjn2XioDFU80pI+zjtapRBjQwhnNp6R4qd540g9edfDZ7KqYD2nsbQGzCI5b937ney31nv/YVDhFf6h+H6ttH1V6lwl8DCZHFXA7NC1LKutZ+A= Received: from SN4PR0201CA0063.namprd02.prod.outlook.com (2603:10b6:803:20::25) by DM2PR02MB1340.namprd02.prod.outlook.com (2a01:111:e400:50c8::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Thu, 19 Oct 2017 16:19:40 +0000 Received: from CY1NAM02FT059.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::200) by SN4PR0201CA0063.outlook.office365.com (2603:10b6:803:20::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.156.4 via Frontend Transport; Thu, 19 Oct 2017 16:19:40 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; redhat.com; dkim=none (message not signed) header.d=none; redhat.com; dmarc=temperror action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by CY1NAM02FT059.mail.protection.outlook.com (10.152.74.211) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.77.10 via Frontend Transport; Thu, 19 Oct 2017 16:19:38 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:35101 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1e5DXm-0007uq-0E; Thu, 19 Oct 2017 09:19:38 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1e5DXl-0002Pl-TH; Thu, 19 Oct 2017 09:19:37 -0700 Received: from xsj-pvapsmtp01 (maildrop.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id v9JGJUiw017184; Thu, 19 Oct 2017 09:19:31 -0700 Received: from [172.19.2.220] (helo=localhost.localdomain) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1e5DXe-0002NF-Pv; Thu, 19 Oct 2017 09:19:30 -0700 From: Alistair Francis To: Date: Thu, 19 Oct 2017 09:15:37 -0700 Message-ID: X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23404.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.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(346002)(376002)(2980300002)(438002)(189002)(199003)(81156014)(9786002)(50226002)(47776003)(50986999)(478600001)(305945005)(4326008)(8676002)(5820100001)(2906002)(8936002)(33646002)(2351001)(81166006)(2870700001)(39060400002)(77096006)(36756003)(316002)(356003)(5660300001)(50466002)(6916009)(36386004)(23676002)(54906003)(106002)(106466001)(189998001)(63266004)(107986001)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1340; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT059; 1:0N+pHR6vNJsMQRAQ0xZJANMOcVlgtc0fAt+Vi/uJF7+EbE6+BCvxVXhx9ifhn0jcYaugYgwkyClQQBWHF+IiK8LEhxkT2ODUBGxY0Eglch+4i1OsDxwVV7hmjFOU8zzb X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9e7719b5-a14d-4401-dea8-08d5170d3254 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:DM2PR02MB1340; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1340; 3:qsbqmNUzI5CM7uK8oLSJRKWECiDqGN1FyJfmmnodcxCOKbyx2jXPngz1/pQdeMJ2S6lwkmmN/uDmswhBt9yQZrO6CuIhiUNi/Ip2PR0Mn5VILJvBJd6lc3BAkzpGHOR6Oes0YWW8699khg6+17pZ2gnyvbZHE4fsqQuIYNUghf//DAwlLIx6svBJrxL9doQY28tgnnJEFOiDRS9D0kccnXpWdUv1VmclEXUn4/MRSU8HosNWJtWQtg5HuRsGT1m8SW8Wi5IjDduMJPfj3Gu5DI+L/30jbw1AnbTNuMCw6FFMmiHwPpySZmvSZ0opmcAla73nMXjmQIwacvSstATW43bvd7rCTWtGaioL2K+FUV0=; 25:TzrwxGLhQzfDiWgMIHPwB27gbAp6TM3Gmx2xbTKvCK8NZ/MpMOzZv3OfDEtXf9C4yZP3vOwiDCSSphEnUh4hkAXtXEePqJPnjJJ90vGjF7loAMHDP1uAoQJ/awklaNfK9Li8YnVsvkqdl77NhjWggUmfUXFBGpQeyDkLyTRckxwFfxCCGkNM3l5KREq+byml5anFvEZjUxbU0SOH8yLf6TsRBNSDhaznbFpOJW8RvLQqS767ISYNIHqn63CwxdLklraY8EJm/Bwo5yVvxx4B22zc1J6pf+LzrMCoIgMMoBr98zVkiJb23Au+4yxiLRFER+zai3XgDFdEzxbLI9Jphg== X-MS-TrafficTypeDiagnostic: DM2PR02MB1340: X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1340; 31:0HpDXtxIPQW5RapSkXkmOEVcU3bxgguPqYEihhLia5E9yLYgSr4F8gxOYcnw8fzwhnUfDk4D4DxhoToEpsK+UNKyEOzLoQXj2zhkL99laxktP0wI6EJOgPMkBcOJ5bREBCDmGA6WHSkNCT71cZ3mYKlv0PFfr6ZDI0L1mGT6wmI+6/o5Xik1/5Tu3UBI/LGQcRq7N9XPRRgBEmaoC/7q8Tu7DS0lsMM4JMAkLdLI87U=; 20:FozFIo4P/jZHJFmTcfLR52s6PPxK9h5t+YzQq+HQ1j9g/tsKI8k8o3YLV5BHi0uId0NCOQsYSZOgqK1AVYCPbet8hYsDBBVJ4dvYWr/G+69KUU6e3Bj3HwDPxsaXpr9vHqtpYRXzQcqgzLHRd6CUKjmgwyXI5cm/uYvkb3fqtw4L3xpgksSKGa1IkCQu+h9vSBAdl6cSl8gAynqQRj/OGJfmDhpm+YzLmxd3YBq5IO/0mI0HunfgkmUTFEFvkLi4JVXSOl6oHUsbBs2f1/3JJh4Fzv+ZKl+jLwt4jTIHNJHMePeA5scCREpCJGhAnlC2El6aKrvCujcU16gz/iKYgWj5rSYGVYBQgvtnoPtKy9p34gbm4GFWEaIs4MfV1RO5m9R64hpDqeNZ0MdWfbvAyLsWFWdThN9DDGkVBYFFwNkZfFuq127Hx4AJoE6GFh88WOo1NqSbPls5Db5u35XI1UmU/XyLs8KkZVUDxFnoQ9L7OYn5dKQRajwWTt3kjNKX X-Exchange-Antispam-Report-Test: UriScan:(788757137089); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93004095)(6055026)(6041248)(20161123558100)(20161123562025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM2PR02MB1340; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM2PR02MB1340; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1340; 4:jhUsp3F4g9/U1hGiGC3TZy12JMxrKCtY4nqyn1Dc6VdtSx2YXqYlM6UUpTyIr6kGH8N6ZiRLV0zNDjemgGIsZL5RA5RKLNnTJcay09a8vmHsFoNIEZWPpW4Yk0Fmv82y6ogCU78fCGaCcek1Egc4EyCU/KTgbMw3REbJeasvKQXUM0PdzH8k0lkaW6kNLNT/0sbG8qNSRMhdDNfiN4im66GSGpyxFog5Rmli1NkeFqX51zBm1Kj/Yt/eQXz8S5OwCoCvvFGQdAPKahwtbvRTQ44pVP1coBVQUPvEXUgmcr8= X-Forefront-PRVS: 0465429B7F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR02MB1340; 23:sV737u7susFKrY4pa67A9LaUGMccZq0aO3di68cp9?= SB8mCffwhb+iJIE4ekTFQSLea7qDMtA5ez69Ebvfa2xeENBJlTRnPe53hrNTVKCII4zrfgeX97EkUjoPKD9orloDH228p+i4Ia7XQOUiWG8ezbTlt5ki839XZJInkJPWiDfRQ4NDSuuNeEIwYCkYmAO4ZSVeIBmrY6/m1Dl7wj9NDPcpIwNBMMrDipqv6iCZs/U2RqdH/CM0kyzgsVg3UjAwaRtcGTWShpDMsAc7YcYPWUQ2JI6X0fjWaNXgt8KdmDtYo3RvcQMSFkNRvWn3p1XtypJOc9f82BVzW1g2EwpTD9Ju8EROz202ttirf8DO//T4+/JJvnvjDc6ZWdURTaKEzqQHm00Z++WL8/tGWsNlr1uHP/s1uzjaVDiI07HcdftV5k0XZt2xJLYHT1j9osK224BmqLuzQ5DRlMm64RclLYrTV2aK7A5WfMkZ9+OWJpd0efwvwE7a05geoSgHrvCTp+gkHM5bejvKpu5LCpf0V3SzvWexnYYW3qNstmtSX3ykGtur8gBBPZ+/VZi6CxJGIjE7bD00Eps45VDGVj5jFo9t0Ua9V1vKgx/ogNdponlJY7Pv/TUscKdAwxu0VwQZ+Pb1Cwaw8N7g5JS7zn/i/a8ljbkWUvV8JkcXnmmeBeFpYV/Z8LM4ZwxLDJOWrNaka1s56yt/ZKMNPRQBmohkWyOJNN7klYxlzEZGnZA1Ac0HQYPJDqW6Oi4q7QeFu/ikjRgfnk4ylkqQeX/7qJk6ewf1bKsS10dcuw6i9MdYVhoIH4A/6/l+bU77BXepJikTIHizFUPcWrm0tPhgZRinSN8XKqahS2bpKmBh+p/Bf8PZpDRU4ASUJHMPrOwc/it+cLMhS/SSK8iPVuC5xPfNqJJUdstj6qXBtLrG4UMAEq9HWanzuH+26uOKWK/3swe194nUrmnhhvmfjY+TBxVJSKtZ4m8Z+MVCJWxczpM8ZI= X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1340; 6:TfI305R0PsXUualALbldpzyrgvu00uSOAzfXl6V/bo16zb3teUS2TGCdTzGj7/jdV/6nB+5bs5rLzADizlcNxXdUaTXLNW5O7XpggpBWDXZ2HXUB3VbmDVHrWWcpmAvI7GMsGQLYjC5QTH9QKA7RLGq+hKwyaU2iqNgT7W0ZH3vGt6fWzS/jJ3u1b1g7J6oHII3I6fob2jnyo4CWgrB3w4Q1gN3lE4Qpuo0mpboaCwKoXXHvjKXn3aeEpD7B5QxibfUJNINhyhDuUS7mhP2/2dxm/0BBZliJzvr4adK9wR0qmfX6gKhcyvAxEHGyMzWfbsvQnUmphK6AJ2cdvEetXA==; 5:hu/2HNlWcP0tYdubO+BpGnOnOtbgRd8gtG6ntwFOX081Ay6+PjFuaVW8da5AbjEDt93nn6V8SjrdJxVOutyohPoWDgU2JBXoV/IzBmbjYX1+q5cGRrVmi67YpVX5sJw8M6lBygGRunV8C7C98NEfZw==; 24:HDE8aSuJiAcbncGy95waVcWYz/1O5k4XXFNNlQ0vhudY8Iyxe8bE4A+CJWCY4EN6g5pzaJ77X/E+t4iWL7cYdEXvb2XmTahQlmtiKlwyRHc=; 7:NA241nEA/t5f7K7+oJpEozCUMpIFf8thG+5Zit4n8KzUx46dS4T798hDLsgLqPxDuekK6jUFbaIiwswvAoM7qm1URpPPp5Q7V8/nCmZe5uBeS1TNpKTgjIUowVdT2bMEV7vFSUVA8I165LmbZxH/9/aSvkxKhp0m7QqWYRj3n0pvg5tqq0NesTJWQBNHumXGek8YRiBNT34oktQ2bHSX/ipM8jxv5bz14yUo1dFoRqc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2017 16:19:38.4542 (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.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR02MB1340 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.42.84 Subject: [Qemu-devel] [PATCH v3 00/46] Remove some of the fprintf(stderr, "* 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: alistair23@gmail.com, armbru@redhat.com, alistair.francis@xilinx.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Continue on improving QEMUs logging/error messages by removing more fprintf()'s. Unfortunatley my Coccinelle skills aren't that great so it's all done in some nasty regex and a little bit of manual work. V3: - Rebase - All sorts of style fixes - Remove "qemu: " prefixes from print messages V2: - Fix build issues - Drop block patches - Split the hw patches into subdirectories - Remove AUDIO_FUNC macro as well - Add some __FUNCTION__ rename fixes in a seperate patch - Create a qemu_log() conversion patch for target/ Alistair Francis (46): Replace all occurances of __FUNCTION__ with __func__ Fixes after renaming __FUNCTION__ to __func__ audio: Replace AUDIO_FUNC with __func__ tests: Replace fprintf(stderr, "*\n" with error_report() hw/arm: Replace fprintf(stderr, "*\n" with error_report() hw/block: Replace fprintf(stderr, "*\n" with error_report() hw/bt: Replace fprintf(stderr, "*\n" with error_report() hw/char: Replace fprintf(stderr, "*\n" with error_report() hw/core: Replace fprintf(stderr, "*\n" with error_report() hw/cris: Replace fprintf(stderr, "*\n" with error_report() hw/display: Replace fprintf(stderr, "*\n" with error_report() hw/dma: Replace fprintf(stderr, "*\n" with error_report() hw/gpio: Replace fprintf(stderr, "*\n" with error_report() hw/i2c: Replace fprintf(stderr, "*\n" with error_report() hw/i386: Replace fprintf(stderr, "*\n" with error_report() hw/ide: Replace fprintf(stderr, "*\n" with error_report() hw/input: Replace fprintf(stderr, "*\n" with error_report() hw/intc: Replace fprintf(stderr, "*\n" with error_report() hw/ipmi: Replace fprintf(stderr, "*\n" with error_report() hw/isa: Replace fprintf(stderr, "*\n" with error_report() hw/lm32: Replace fprintf(stderr, "*\n" with error_report() hw/microblaze: Replace fprintf(stderr, "*\n" with error_report() hw/mips: Replace fprintf(stderr, "*\n" with error_report() hw/misc: Replace fprintf(stderr, "*\n" with error_report() hw/moxie: Replace fprintf(stderr, "*\n" with error_report() hw/net: Replace fprintf(stderr, "*\n" with error_report() hw/nios2: Replace fprintf(stderr, "*\n" with error_report() hw/nvram: Replace fprintf(stderr, "*\n" with error_report() hw/openrisc: Replace fprintf(stderr, "*\n" with error_report() hw/pci*: Replace fprintf(stderr, "*\n" with error_report() hw/ppc: Replace fprintf(stderr, "*\n" with error_report() hw/s390x: Replace fprintf(stderr, "*\n" with error_report() hw/scsi: Replace fprintf(stderr, "*\n" with error_report() hw/sd: Replace fprintf(stderr, "*\n" with error_report() hw/sh4: Replace fprintf(stderr, "*\n" with error_report() hw/sparc*: Replace fprintf(stderr, "*\n" with error_report() hw/ssi: Replace fprintf(stderr, "*\n" with error_report() hw/timer: Replace fprintf(stderr, "*\n" with error_report() hw/usb: Replace fprintf(stderr, "*\n" with error_report() hw/watchdog: Replace fprintf(stderr, "*\n" with error_report() hw/xen*: Replace fprintf(stderr, "*\n" with error_report() util: Replace fprintf(stderr, "*\n" with error_report() ui: Replace fprintf(stderr, "*\n" with error_report() tcg: Replace fprintf(stderr, "*\n" with error_report() target: Use qemu_log() instead of fprintf(stderr, ...) target: Replace fprintf(stderr, "*\n" with error_report() audio/alsaaudio.c | 4 +- audio/audio.c | 40 +++++++++--------- audio/audio_int.h | 6 --- audio/audio_pt_int.c | 28 ++++++------- audio/audio_template.h | 26 ++++++------ audio/dsoundaudio.c | 2 +- audio/mixeng.c | 2 +- audio/ossaudio.c | 10 ++--- audio/paaudio.c | 56 ++++++++++++------------- audio/sdlaudio.c | 2 +- audio/wavaudio.c | 2 +- cpus.c | 8 ++-- exec.c | 14 +++---- hw/arm/armv7m.c | 2 +- hw/arm/boot.c | 37 ++++++++--------- hw/arm/gumstix.c | 13 +++--- hw/arm/mainstone.c | 7 ++-- hw/arm/musicpal.c | 2 +- hw/arm/nseries.c | 2 +- hw/arm/omap1.c | 49 +++++++++++----------- hw/arm/omap2.c | 23 +++++----- hw/arm/omap_sx1.c | 6 +-- hw/arm/palm.c | 20 ++++----- hw/arm/pxa2xx.c | 53 ++++++++++++------------ hw/arm/pxa2xx_gpio.c | 6 +-- hw/arm/pxa2xx_pic.c | 4 +- hw/arm/stellaris.c | 3 +- hw/arm/tosa.c | 25 +++++------ hw/arm/versatilepb.c | 2 +- hw/arm/vexpress.c | 8 ++-- hw/arm/z2.c | 6 +-- hw/audio/hda-codec.c | 10 ++--- hw/audio/intel-hda.c | 28 ++++++------- hw/audio/wm8750.c | 4 +- hw/block/dataplane/virtio-blk.c | 6 +-- hw/block/nand.c | 4 +- hw/block/onenand.c | 16 +++---- hw/block/tc58128.c | 44 +++++++++----------- hw/bt/core.c | 15 ++++--- hw/bt/hci-csr.c | 21 +++++----- hw/bt/hci.c | 46 ++++++++++---------- hw/bt/hid.c | 4 +- hw/bt/l2cap.c | 49 +++++++++++----------- hw/bt/sdp.c | 11 ++--- hw/char/mcf_uart.c | 5 ++- hw/char/sh_serial.c | 9 ++-- hw/core/loader.c | 43 +++++++++---------- hw/core/ptimer.c | 7 ++-- hw/cris/axis_dev88.c | 3 +- hw/cris/boot.c | 6 +-- hw/display/blizzard.c | 28 ++++++------- hw/display/omap_dss.c | 16 +++---- hw/display/pl110.c | 2 +- hw/display/pxa2xx_lcd.c | 14 +++---- hw/display/qxl-render.c | 9 ++-- hw/display/qxl.c | 10 ++--- hw/display/qxl.h | 2 +- hw/display/tc6393xb.c | 38 +++++++++-------- hw/display/virtio-gpu-3d.c | 4 +- hw/display/vmware_vga.c | 22 +++++----- hw/display/xenfb.c | 2 +- hw/dma/omap_dma.c | 38 +++++++++-------- hw/dma/pxa2xx_dma.c | 14 +++---- hw/dma/soc_dma.c | 36 ++++++++-------- hw/gpio/max7310.c | 8 ++-- hw/gpio/omap_gpio.c | 2 +- hw/i2c/omap_i2c.c | 10 ++--- hw/i386/kvm/apic.c | 9 ++-- hw/i386/kvm/clock.c | 7 ++-- hw/i386/kvm/i8254.c | 7 ++-- hw/i386/kvm/i8259.c | 5 ++- hw/i386/kvm/ioapic.c | 5 ++- hw/i386/multiboot.c | 21 +++++----- hw/i386/pc.c | 24 +++++------ hw/i386/pc_piix.c | 2 +- hw/i386/pc_sysfw.c | 4 +- hw/i386/xen/xen-hvm.c | 30 +++++++------- hw/i386/xen/xen-mapcache.c | 12 +++--- hw/i386/xen/xen_apic.c | 3 +- hw/ide/ahci.c | 6 +-- hw/ide/core.c | 2 +- hw/ide/microdrive.c | 4 +- hw/input/lm832x.c | 8 ++-- hw/input/pckbd.c | 3 +- hw/input/pxa2xx_keypad.c | 6 +-- hw/input/tsc2005.c | 17 ++++---- hw/input/tsc210x.c | 76 +++++++++++++++++----------------- hw/input/virtio-input-hid.c | 14 +++---- hw/input/virtio-input.c | 5 ++- hw/intc/arm_gic_kvm.c | 12 +++--- hw/intc/omap_intc.c | 4 +- hw/intc/openpic.c | 7 ++-- hw/intc/openpic_kvm.c | 8 ++-- hw/intc/s390_flic_kvm.c | 4 +- hw/ipmi/ipmi_bmc_extern.c | 5 ++- hw/isa/isa-bus.c | 7 ++-- hw/isa/vt82c686.c | 2 +- hw/lm32/lm32_boards.c | 7 ++-- hw/lm32/milkymist.c | 7 ++-- hw/microblaze/boot.c | 2 +- hw/mips/boston.c | 4 +- hw/mips/gt64xxx_pci.c | 2 +- hw/mips/mips_fulong2e.c | 13 +++--- hw/mips/mips_jazz.c | 4 +- hw/mips/mips_malta.c | 16 ++++--- hw/mips/mips_mipssim.c | 11 +++-- hw/mips/mips_r4k.c | 18 ++++---- hw/misc/a9scu.c | 3 +- hw/misc/cbus.c | 12 +++--- hw/misc/omap_clk.c | 4 +- hw/misc/omap_gpmc.c | 13 +++--- hw/misc/omap_l4.c | 5 ++- hw/misc/omap_sdrc.c | 5 ++- hw/misc/omap_tap.c | 6 +-- hw/misc/tmp105.c | 2 +- hw/misc/vmport.c | 2 +- hw/moxie/moxiesim.c | 14 +++---- hw/net/fsl_etsec/etsec.c | 2 +- hw/net/pcnet.c | 2 +- hw/net/smc91c111.c | 5 ++- hw/net/vhost_net.c | 16 +++---- hw/nios2/boot.c | 2 +- hw/nvram/eeprom93xx.c | 5 ++- hw/nvram/fw_cfg.c | 5 ++- hw/openrisc/openrisc_sim.c | 4 +- hw/pci-host/bonito.c | 8 ++-- hw/pci/pci.c | 12 +++--- hw/ppc/e500.c | 22 +++++----- hw/ppc/mac_newworld.c | 2 +- hw/ppc/mac_oldworld.c | 2 +- hw/ppc/mpc8544_guts.c | 5 ++- hw/ppc/ppc405_boards.c | 15 +++---- hw/ppc/ppc440_bamboo.c | 22 +++++----- hw/ppc/ppc4xx_pci.c | 3 +- hw/ppc/prep.c | 4 +- hw/ppc/virtex_ml507.c | 4 +- hw/s390x/virtio-ccw.c | 5 ++- hw/scsi/lsi53c895a.c | 4 +- hw/scsi/spapr_vscsi.c | 49 +++++++++++----------- hw/scsi/virtio-scsi-dataplane.c | 6 +-- hw/sd/pl181.c | 5 ++- hw/sd/pxa2xx_mmci.c | 6 +-- hw/sd/sd.c | 15 +++---- hw/sh4/r2d.c | 9 ++-- hw/sh4/sh7750.c | 64 ++++++++++++++-------------- hw/sparc/leon3.c | 16 ++++--- hw/sparc/sun4m.c | 16 ++++--- hw/sparc64/niagara.c | 4 +- hw/sparc64/sun4u.c | 10 ++--- hw/ssi/omap_spi.c | 9 ++-- hw/timer/omap_gptimer.c | 13 +++--- hw/timer/twl92230.c | 8 ++-- hw/timer/xilinx_timer.c | 8 ++-- hw/usb/core.c | 15 +++---- hw/usb/desc.c | 6 +-- hw/usb/dev-audio.c | 39 ++++++++--------- hw/usb/dev-bluetooth.c | 4 +- hw/usb/dev-mtp.c | 9 ++-- hw/usb/dev-network.c | 14 +++---- hw/usb/hcd-ehci.c | 32 +++++++------- hw/usb/hcd-musb.c | 4 +- hw/usb/hcd-xhci.c | 3 +- hw/usb/host-legacy.c | 3 +- hw/usb/tusb6010.c | 14 +++---- hw/watchdog/watchdog.c | 9 ++-- hw/watchdog/wdt_i6300esb.c | 8 ++-- hw/xen/xen-common.c | 11 ++--- hw/xenpv/xen_domainbuild.c | 32 +++++++------- hw/xenpv/xen_machine_pv.c | 9 ++-- include/hw/arm/omap.h | 10 ++--- include/hw/arm/sharpsl.h | 2 +- memory_mapping.c | 2 +- migration/block.c | 4 +- target/arm/arm-powerctl.c | 5 ++- target/arm/arm-semi.c | 3 +- target/arm/helper.c | 4 +- target/arm/kvm.c | 16 +++---- target/arm/kvm32.c | 2 +- target/arm/kvm64.c | 2 +- target/arm/translate-a64.c | 4 +- target/arm/translate.c | 2 +- target/cris/helper.c | 2 +- target/cris/translate.c | 2 +- target/i386/hax-all.c | 53 ++++++++++++------------ target/i386/hax-darwin.c | 26 ++++++------ target/i386/hax-mem.c | 4 +- target/i386/hax-windows.c | 43 +++++++++---------- target/i386/kvm.c | 38 ++++++++--------- target/i386/misc_helper.c | 12 +++--- target/lm32/op_helper.c | 4 +- target/mips/mips-semi.c | 3 +- target/mips/translate.c | 2 +- target/ppc/excp_helper.c | 4 +- target/ppc/kvm.c | 34 +++++++-------- target/ppc/mmu-hash64.c | 2 +- target/ppc/mmu_helper.c | 2 +- target/ppc/translate.c | 22 +++++----- target/ppc/translate_init.c | 53 ++++++++++++------------ target/s390x/kvm.c | 20 ++++----- target/s390x/misc_helper.c | 2 +- target/sh4/translate.c | 4 +- target/unicore32/translate.c | 4 +- tcg/optimize.c | 8 ++-- tcg/tcg.c | 2 +- tcg/tcg.h | 3 +- tcg/tci.c | 2 +- tcg/tci/tcg-target.inc.c | 4 +- tests/Makefile.include | 4 +- tests/ahci-test.c | 3 +- tests/bios-tables-test.c | 5 ++- tests/i440fx-test.c | 8 ++-- tests/libqos/ahci.c | 10 ++--- tests/libqos/libqos.c | 7 ++-- tests/libqos/malloc.c | 13 +++--- tests/libqtest.c | 13 +++--- tests/migration/stress.c | 36 ++++++++-------- tests/postcopy-test.c | 8 ++-- tests/qemu-iotests/socket_scm_helper.c | 11 ++--- tests/rcutorture.c | 5 ++- tests/tcg/linux-test.c | 2 +- tests/tcg/runcom.c | 6 +-- tests/tcg/test-i386-fprem.c | 2 +- tests/tcg/test_path.c | 4 +- tests/test-hmp.c | 5 ++- tests/test-rcu-list.c | 5 ++- tests/usb-hcd-ehci-test.c | 2 +- tests/vhost-user-bridge.c | 28 ++++++------- ui/cocoa.m | 6 +-- ui/console.c | 2 +- ui/curses.c | 2 +- ui/cursor.c | 12 +++--- ui/gtk.c | 10 ++--- ui/input-linux.c | 3 +- ui/keymaps.c | 4 +- ui/sdl.c | 14 +++---- ui/sdl2.c | 8 ++-- ui/sdl_zoom.c | 3 +- ui/shader.c | 9 ++-- ui/spice-display.c | 10 ++--- ui/vnc-enc-tight.c | 4 +- ui/vnc-enc-zlib.c | 4 +- ui/vnc-enc-zrle.c | 4 +- ui/vnc.c | 2 +- util/aio-posix.c | 5 ++- util/coroutine-sigaltstack.c | 2 +- util/error.c | 2 +- util/main-loop.c | 2 +- util/mmap-alloc.c | 3 +- util/module.c | 6 +-- util/osdep.c | 4 +- util/oslib-posix.c | 3 +- util/oslib-win32.c | 3 +- util/qemu-coroutine.c | 5 ++- util/qemu-progress.c | 3 +- util/qemu-thread-posix.c | 5 ++- util/qemu-thread-win32.c | 5 ++- util/qemu-timer-common.c | 3 +- util/qht.c | 2 +- vl.c | 2 +- 259 files changed, 1458 insertions(+), 1404 deletions(-)