From patchwork Thu Jul 13 10:15:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 9838127 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CD2F2602D8 for ; Thu, 13 Jul 2017 10:20:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 933A92871E for ; Thu, 13 Jul 2017 10:20:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 910502872C; Thu, 13 Jul 2017 10:20:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2FC31286F7 for ; Thu, 13 Jul 2017 10:20:16 +0000 (UTC) Received: from localhost ([::1]:58530 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVbED-00052b-VA for patchwork-qemu-devel@patchwork.kernel.org; Thu, 13 Jul 2017 06:20:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVbDM-00052I-O1 for qemu-devel@nongnu.org; Thu, 13 Jul 2017 06:19:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVbDI-0007wU-P9 for qemu-devel@nongnu.org; Thu, 13 Jul 2017 06:19:20 -0400 Received: from mail-co1nam03on0056.outbound.protection.outlook.com ([104.47.40.56]:28375 helo=NAM03-CO1-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 1dVbDI-0007vC-1M for qemu-devel@nongnu.org; Thu, 13 Jul 2017 06:19:16 -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=9LUbBngZDQ2VNr/bxck7yhZZC9M8tUu8kUYmzr8Wu2A=; b=y0xDGdpc7F4njXYGVJUgqtOqg6UbEfBmSiDOQcTRpLSsbav356ogPXnThc8o8oRp54671cofVd176OkqHTjTuuCTopV2af3vn2DgobvRuJuDsyFfsDmfoF2CXIQmK/BiHkmtwV534ERyPN1Cq7cGd03LbSM/xnVT9DgmKP76Rl0= Received: from BN6PR02CA0025.namprd02.prod.outlook.com (10.173.146.139) by BN6PR02MB2723.namprd02.prod.outlook.com (10.175.95.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Thu, 13 Jul 2017 10:19:12 +0000 Received: from SN1NAM02FT017.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::200) by BN6PR02CA0025.outlook.office365.com (2603:10b6:404:5f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.13 via Frontend Transport; Thu, 13 Jul 2017 10:19:12 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=bestguesspass 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 SN1NAM02FT017.mail.protection.outlook.com (10.152.72.115) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1240.9 via Frontend Transport; Thu, 13 Jul 2017 10:19:12 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:44819 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1dVbDD-0007b4-CJ; Thu, 13 Jul 2017 03:19:11 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1dVbDD-0004CG-87; Thu, 13 Jul 2017 03:19:11 -0700 Received: from xsj-pvapsmtp01 (xsj-pvapsmtp01.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id v6DAJ2dm004550; Thu, 13 Jul 2017 03:19:02 -0700 Received: from [172.19.2.220] (helo=localhost.localdomain) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1dVbD3-00048L-Sj; Thu, 13 Jul 2017 03:19:01 -0700 From: Alistair Francis To: , , Date: Thu, 13 Jul 2017 03:15:49 -0700 Message-ID: <468425bd8090e3a9fd7fc791db42e24d6c75315c.1499940552.git.alistair.francis@xilinx.com> X-Mailer: git-send-email 2.11.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23192.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)(39840400002)(39850400002)(39400400002)(39450400003)(39410400002)(2980300002)(438002)(189002)(199003)(9170700003)(47776003)(81166006)(5003940100001)(2906002)(50986999)(8936002)(356003)(38730400002)(305945005)(39060400002)(2201001)(5660300001)(106466001)(8676002)(33646002)(63266004)(118296001)(189998001)(50466002)(626005)(478600001)(36756003)(54906002)(48376002)(9786002)(4326008)(36386004)(77096006)(50226002)(6666003)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR02MB2723; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; MLV:ovrnspm; MX:1; A:1; PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT017; 1:9oRbseU1zkY97Dy/HrW55cVn4sg798jVTErYN82Mzo6SauHzH83edMHETttGX6u/9DDlbUq3kc3gHWGzvTRQHRGpLAqF6UrPE6v0nFtiNZKuKfIzMVeKg3FeuHO/ttLEj6FxDBaRQCx41bnYI8wtPNGY4Ibrw2nzmpCIMmhVdasyZkC3oAEWlbNJYfATIvyTNExR99QTb6We+CdNXbFYzXFdN5VmVC4XSVhtRE2VJYAD604429nMyYqp+ldjPgxOp+4YYVJK5eMcrGvPTegSPyKE0JMpIUXTJJIvHmCGseX0gXSF7zCCF6bksdBrOEGZNSnNUePvAcfFuy3fhXt47rDbOn1BTMN9TXoiddjAps/KcG3tFDUL5+RdhE/+lxog6IDWfibeeyJgEkJde+CakXHRxqFl1aCAqXd/ragtjk6VggFGZmg3wT6GtgXJf28ckXaID75gIc7dmAG73zisHfA/N7hyM/eRpiAprWrL6XZ0fpCmnu7nr9jnJBuM9cFsOHpXnCYtbymQW7ZA+5Ihxq8Jva3rFt8kXd+68AfLbAoLsIPQimDMDpqo7pGzBzn7p7/hfIq1fxTvlgdYDksofw9seBE4NWaO36Wn1Z8pkfAcFbZ8/2qfLPmyez6DsF+grNNZvKOIe3EYrvtvsQsNEpE7sRbSZh6H9+owHHbFGhMwnrdJ7jSBDm/QFqQS0IRiBsGuCeg0JbzpYVp2EERg1fqVrcbmrhioN80aktkP3Hl83i2V3M3muFfQwQK/1pqqXz3vypOuu32jVbvC63ehBJYKL+3WlmifEhUw/bzVpeaA5X5rJNJ6xzKvTQcPLSjYcVuG/acrkrLXZhHHWrvkdFLtWSbsHRq/W2HTGftidCR88wDeCZHbdKMTMf7sZzsEHbJ3jXJiph7wL1S7CcyW3w== MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 66474c63-f8f5-4ade-6869-08d4c9d89b59 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(8251501002)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN6PR02MB2723; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR02MB2723; 3:v091i4BFnVX0VugznQeFiLTzAQYmFU9i77t7tfWc1S?= =?us-ascii?Q?jH5XyXMCNRLyh3/IvlkWtRq4CabjBD0hyJgBUjrZQO1u8W1MIdygHwhfg2Y9?= =?us-ascii?Q?lVkd/7SxqsWynsRcraoVkUztdxwhJU1gxxxwiQlrxVW/7Cxy6yMkw39Pl87J?= =?us-ascii?Q?w2HRPqwENBW8H56j9ZcS2IRVrLH4NwtdNJNwcWDEx/hRGtyFG+okOufGrWLG?= =?us-ascii?Q?1yuq1WusgOqSvgfO7/ycIiAh7rnfpuGyY/EdJf+fkZVag802H4su9iZUljF2?= =?us-ascii?Q?ZBQ4kQjbi8Yu9HekdhlxLw8I0ookLz2J5ltlUBIf3z5g4hbGCu4zs/CfLMx4?= =?us-ascii?Q?Uov+3ILlr0lxHLt8dFhWK4coIxiChRbPWb3Xvza+dblBWUkqD1KHfQh7juEU?= =?us-ascii?Q?4Na8DdFAV9OiEJbipeaYNPu9TTOP1SRVhjDk39orrHuQFybrGYy6+SsUkBko?= =?us-ascii?Q?6Am7LoQYZfj7C3hCwNY1+iMbJ28tcbznNWCX987Rg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ufACQA1XCHO8u3uTYU5tEBWSVG1C5P+xOvBuDBkI76fsKZv5fwgR0YPOnhw61vKisxgQqvJNWz1cMYS1rq68IA0P2QJiemG8kkd/zfJClN8TMvT9clxejux3Bpra8F19mWnZiP6anoKsuFFofY1ykdOcCMM8m8eaIv9kVd X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2723; 20:bNg8MoEbdjHqYqeiGR+AB/bWQhPQa6lN75aWTLlAjnYLo4HKEjarMadbHY224uQTwrfNYQg/7vq0axTNt4tfmeFRn00NUxx9vRZNbhPG3/TvkaN368Bfha1HfFafkfUN4I23Q9GqrOnxmG6qXPBHSIeCSXo+7QYtWIUMtwT5lGzBJCN+cNNJOfqZWPnDNGmD0u42MP863Q4ZJRidE2djFlqTy4pVAtIGZDeQL5/K/rdD5FJDk+xJzlDqMm5pyIXa56bfW/x/uEqOyNOdtHC8sEOlv6Rn4/A/CLizq4LuKsFmovL7PUAZgb/haAJ3zLo7VHyI94UTrAgcpA3aqU1XZF4SkRuSmzMg8LOh13p0JZQBREZvR6IVajg7GOjCFqYX5RGJrWMgcL6ZKespjPnOlNLrLA1xpduYgzTIE+XmS+b+cKYaBtPi6bpfhZJFDRPClsvVnX6bSa7gzNSSY71tgPPmcfTxxVTmmn6vTu2Dl5ZAgjnD8MhvKF2v+nL1Qxw8 X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(192813158149592); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(13018025)(5005006)(13016025)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR02MB2723; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR02MB2723; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR02MB2723; 4:ld7BXv+7z3KJqabs3G4Gs6b1w2Ycw0BHygV65cDEGC?= =?us-ascii?Q?Al2ye7j1bRxfwNvgr1Ul8Hm7MMoVR9IBYIlBDKKHIqo1hNab2jq2fdYARXAP?= =?us-ascii?Q?iLJ9fwRSrK9hYV6hFiF1xB/tJWWN7oWqHp+wUqDd+XQcekFpYf099Tlvgqva?= =?us-ascii?Q?yprHOaTWLT+htXsmSkQ6+o/rnDGlUPFEHo92poYjjr7Sv+bAzBo58XvDQcQv?= =?us-ascii?Q?YYl/QFTYs5W5PERu4ml5Vvc4M4WbZd38myxzTth+XsenciJKb0ucFkBBe/iC?= =?us-ascii?Q?RiDgmM1MjAxFKVGliTI9EK5eHXtcnmCPCBboda7+hfwApzQlUYCAOhI7ns8Z?= =?us-ascii?Q?uKDPnxXsMhhuGCNuJobZKJ+kGRukSb4Tq763v5e2gH+7PjP7RRabBy+lRG/7?= =?us-ascii?Q?la/AqD7yJEKlL3GUHCQUduaZT4zS0j7qND1MNJu6t0ztkBLImEdB5+dO3B4b?= =?us-ascii?Q?Q+pjwoWHl59lomY9n44TH6IcGjKhsV/xvIZQ5JtLvzPZfc2iKYW0RANkMlSe?= =?us-ascii?Q?GyhuxT26KJeKLGQQyUcu4BoIfxtsc+mRj42TmltDNlXrZBBRYU5fPdks48aZ?= =?us-ascii?Q?woT+6u3rTzpF6hvaEa6pGz8pdYqGCbqc9WN05p7MZfJ134Vlz9kpluq/Cbkw?= =?us-ascii?Q?s7xokoFoIohXztwlMVgo1Y7vXawRjQPfrmAOKGvFLzZGFcsuO6L3QqTObPit?= =?us-ascii?Q?uWy7D3VJq3zR3so4qjkoV1gEUOGJm0xPonj3V8fhJie7ENCjC4iO+msN7l6c?= =?us-ascii?Q?pd04/yiqROopC61YJTy1tjVOneQBcqR/M5w+si6fXU4gLen7cMgKYQ8tIVKR?= =?us-ascii?Q?GDEd63AIhDYfgheJ5ZWWj/d/8Ilyj3nnipDkKWyIdgGVU2ERTG4pc7bKpi7l?= =?us-ascii?Q?H0KxyIlQsmQujY0ETSVzL9wR5LKO4NhUZ81IetyNVvvFHRrzz/YEf5xcikgK?= =?us-ascii?Q?c8MObJXdASlYjfwwW0zXKCbl/z7G6fBduJTJfw/A84IOsVGFIMLzKeVdoCvy?= =?us-ascii?Q?P//GlwGSoD9nFuhq3KT95aAYvqD7amd6m7buTZoAhaTTH+FLwtk2l7XTZbx2?= =?us-ascii?Q?GYO6n4ZrZPDZn5lpKoDykAOrKQ6n6CR8YqnZGc7dsNuUXXSaB6HdyptY59dl?= =?us-ascii?Q?whX4zD4X9odXM367xwCqu9HHPeytB+bvDI9Ey4gP8MYwjT0KzM4hHYVKydMS?= =?us-ascii?Q?/TR052iCUXarUrZdMV2HjdXnQhsJEijQohwLCGeQw6z4zCsZL3Pkpjh6/akR?= =?us-ascii?Q?qeJZgtsu5oKCJ/iBY44YOaQKXNSFX4z3HAEba12LTed8JTcheV5j5y8BFcOc?= =?us-ascii?Q?kt443Rth2W8iy1/w4W+N8=3D?= X-Forefront-PRVS: 0367A50BB1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR02MB2723; 23:+ocYc1N7zlVf2g+W3AzIZ+ZiAY433e0FOBe64bafd?= =?us-ascii?Q?yxQBhs+7+vK7zCZXTnGzddxAbKxMBbvlQDpRontpLZk4qAwvs4xE+/M2KR13?= =?us-ascii?Q?Qy1oK9TusBJ69hjd9/wibvYPpKP4v7Xj5EhsmGj5WKpleHoo6X3MspsNs7VB?= =?us-ascii?Q?CMdmL2VwHt6mEX474Ht815D2u83Qwpte8NFLumuaW6tLINrCyiYZmu8FdF06?= =?us-ascii?Q?Sy+mf8u9bRzhHQCZsZYL4RiTGBdGN2F1tpkLw7mSoAeq27jNtuA2GcUcVGEw?= =?us-ascii?Q?sGzZVVCZPaaAPnLj1YC0GZ6oAaOSyjKLXOdfCeFSK5KbiVCM5SaVKmjXrF3U?= =?us-ascii?Q?2RLPpubiqiP0gJdDvJZiJcT4UubFFunbBAgxcbrCXDaSc5+aalzjE3lmsBvP?= =?us-ascii?Q?icN62tftNMiGa0pB76t2BpRQftvlzpR9IR3myKt0UkeO1x58FK8xapL/Tt39?= =?us-ascii?Q?ioS10Br5U0/1hmbAQU5uJlzxH7DuQQuwiAo/eZWdpNIf3ReccVjl80LO3MwM?= =?us-ascii?Q?NRgrrrKzYHoUwgJkwoarRYj2eXC8tbXsLCExWUBiPMyNTl1iCznpmvVGQmN2?= =?us-ascii?Q?EUT6E5RfEzl9HG1+8BxtwGPLR3enQy+NY/wiWp0ldXK87avVhiavLUlM4Xro?= =?us-ascii?Q?QfL+7OAqxwGjz4JIuzp9nrEpUOXX9YTGRdTXXOdTUJsGu/5hZEcY1xoc15TV?= =?us-ascii?Q?5u+Je6nUzuTaeuviXctw+jDbd4SEepvn34jfVHKZb18BqySOfoUWVOI8D40C?= =?us-ascii?Q?u5Jy9EnpAC5OXACc3svYIVFepzPJ+bOrtdlGeWM20USGoXhG7mu8oFx5ctP0?= =?us-ascii?Q?rVJVIDuBxhSpV/6VkJzNLYTVmYdeW4/a9ouhVWoZguROgdk//N9HLUuSVL8b?= =?us-ascii?Q?zCHGDtVUK62NqsvjvCJt4dDR8g3dx8TtLmtWf8K8GPl62nymt2VJhAx5b/nJ?= =?us-ascii?Q?+ejWvxLcUmGbTZ/X0FKB46wgOD1gziqYCk6JLn9eJDcQG9Q5fhc4uDr32ha+?= =?us-ascii?Q?sf+kX89injVzDTDr9wgvJ6xZGydOg+hLV6OF7vZPLakJ0C7usi8jvn0NYBjh?= =?us-ascii?Q?ewMNus=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR02MB2723; 6:jFJs49ySsRIhQfBSOHtJKAs9sGIQ84V2cfO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s+L6hHu6aJko3YG97x8lC6mk4pJp?= =?us-ascii?Q?UlJu+5hHIMkU8mJTczWxIQoPH6bJxhrOLXCq8+2RHbblkeu9oRMmpPZ1xJ0N?= =?us-ascii?Q?I+3OXerWOcpZZFCMO2BGJ8?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2723; 5:oZS5duu01bw4KAlw2raQ40rDlyJZ5vOYce33yJG/a2vEuXcMW63pACQ1FijFs2A7h3n3kaD8k4Y+E0kzRepVJGA6xiu3d7RBB/J/oo7QXF1qCurcpjO7aIClh5WXfWNWkgjPKqU2qJpaOXHEarO/KRhuM11B1zRipLtTYMybWCc8mSVtDgKblRlvClAhD/Gv4VnDGn7FPa/eYav2/0zwwGCEymYK3GodNHj1Atcyrn4vqId5kwftgT0f/privW5ZZIzk8oUeQcO8PB8B/bmAng78OsgIhla1vZnSatKlWHIXQK9y7xKg5xB5F3JUJ2m9pIjoZKYeh4lNJVQGHOFqP5byQHI5poStVTdpfBZt7RJgngUSGX0U0ncA98YvIJavR6joigJb50HffvlsIH+cTYZm458iDuCpebkmPCfPmuzYTIVGe4K1GV21hFl/OeRNNTablqqY5C7jS31iqRiXkxrCmliJyBXuIyn4R6ZR/MSLW7x+2WhdrEtukegC27qK; 24:o33o4+CVN0Y4dTXMrYPHx9xU/nbJ5nprwATTnNgq9sckJsco5cXR1CZqoMY6gp//R1Kvs8tXE6wrQyH6Y3q/hrI/x68NTemLc2BX+2zl6Ww= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN6PR02MB2723; 7:3eKXZNHe6+O0/Q5YqKlalw6Byr9fGN6CqKnzraE6oIDzU4AafQlB8w/0rkBzGRI4+0QZ+34y9nt2JJTPLDQ/YMjb3NhDEPBss88dVqIGQxI/XziSXGRjUE067NxgAlxCPak+IcrTv9N/eDSMZxh1wARuyTziXQfqpGpb1i3zxEnLdUxtnTwYyyJDkv3X6O1YKTrTkXvuxocfl8IeYv7A6N/ddlbF5MgCWYneD2vftlXKXqIj+e2d4MM9HI5Y/OjpurbnJzbwucPqmX+oEvYtRl3J4SGhun+OBWMLIPzV1yKvSY7gz8ydPa/OYJLuOqGNpqP/dYHZageB2UL4Czf00OKtJ3/6XsLWiUVBqMSzLxsIQ+xssJRpsjYGd3jJR4HOQul7zCIU0HJmKcDWhxeuH+wI954Hf0IIkp8uUh5ss2QPb/772TZSZN7xRXV4Wuy7GMybuAnJ1VxFITxCk2JNw7ootHv9BgbhFugmgCXIBKZDdO4OtfmCupLrl4+mp5+qLw0+l0z6F78Zhw1ho87i7ysLdOIr0C3JSE00aUk6F4tMMgLXo7T+E2LRPOvd5quE+AnSNjA9DZ8uP+y1KOYc5DP8MHyOXGI9jnr5zr9tG79ZzsDVAOPUvsL7DE0jwrwGqrIplL7NnDLAQZi5IkioaJ+uMaOOM/JAenrzXZL7HGtxdKWEyV4DZba+d8zCi8Qh43miCpFqnebI4sa+QFE4BzzH05GWhg7egaf12LXaVvzepuRBTUCIHY20bP1Q1HrnfvQhOMEjWyPetP8NhcbumxCySXiDCvCBKIG+mUGrn6w= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2017 10:19:12.0810 (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: BN6PR02MB2723 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.40.56 Subject: [Qemu-devel] [PATCH v1 1/1] io/channel-watch.c: Only select on what we are actually waiting for 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, alistair.francis@xilinx.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP When calling WAEventSelect() only wait on events as specified by the condition variable. This requires that the condition variable is set correctly for the specific events that we need to wait for. Signed-off-by: Alistair Francis --- io/channel-watch.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/io/channel-watch.c b/io/channel-watch.c index 8640d1c464..d80722f496 100644 --- a/io/channel-watch.c +++ b/io/channel-watch.c @@ -286,9 +286,21 @@ GSource *qio_channel_create_socket_watch(QIOChannel *ioc, QIOChannelSocketSource *ssource; #ifdef WIN32 - WSAEventSelect(socket, ioc->event, - FD_READ | FD_ACCEPT | FD_CLOSE | - FD_CONNECT | FD_WRITE | FD_OOB); + long bitmask = 0; + + if (condition & (G_IO_IN | G_IO_PRI)) { + bitmask |= FD_READ | FD_ACCEPT; + } + + if (condition & G_IO_HUP) { + bitmask |= FD_CLOSE; + } + + if (condition & G_IO_OUT) { + bitmask |= FD_WRITE | FD_CONNECT; + } + + WSAEventSelect(socket, ioc->event, bitmask); #endif source = g_source_new(&qio_channel_socket_source_funcs,