From patchwork Wed Jun 21 16:24:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Kagan X-Patchwork-Id: 9802245 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 2C7D060329 for ; Wed, 21 Jun 2017 16:30:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1AB222862B for ; Wed, 21 Jun 2017 16:30:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E7F428631; Wed, 21 Jun 2017 16:30:56 +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 413202862B for ; Wed, 21 Jun 2017 16:30:54 +0000 (UTC) Received: from localhost ([::1]:55051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNiWr-0002ha-V6 for patchwork-qemu-devel@patchwork.kernel.org; Wed, 21 Jun 2017 12:30:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNiRs-0006rC-F9 for qemu-devel@nongnu.org; Wed, 21 Jun 2017 12:25:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNiRp-0004VA-P3 for qemu-devel@nongnu.org; Wed, 21 Jun 2017 12:25:44 -0400 Received: from mail-ve1eur01on0130.outbound.protection.outlook.com ([104.47.1.130]:34240 helo=EUR01-VE1-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 1dNiRp-0004Uk-88 for qemu-devel@nongnu.org; Wed, 21 Jun 2017 12:25:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=lAk0aLza7OWPEZ2JZV5vtBooG73HfOONdNFpa9q9Lg8=; b=FGcEXJzOQ0gCbHqxUOVZhliyuQ+RRzkgFHW+bDuFK5nY2Wy1DzuyCYVXnxhI2VJHnAUvMr32LZ93Wurl0pZpRxd0zzLMtFxl8xqRQ+MS8nY6gi5XiWT+I8JLl6ojbvkWXU+toEukB4fqTPZHsmtchCzLWG8Z0FpAs0q9u8n0m/U= Authentication-Results: nongnu.org; dkim=none (message not signed) header.d=none; nongnu.org; dmarc=none action=none header.from=virtuozzo.com; Received: from rkaganb.sw.ru (195.214.232.6) by HE1PR08MB0842.eurprd08.prod.outlook.com (2a01:111:e400:59b2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Wed, 21 Jun 2017 16:25:34 +0000 From: Roman Kagan To: qemu-devel@nongnu.org, Paolo Bonzini , Eduardo Habkost Date: Wed, 21 Jun 2017 19:24:10 +0300 Message-Id: <20170621162424.10462-10-rkagan@virtuozzo.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170621162424.10462-1-rkagan@virtuozzo.com> References: <20170621162424.10462-1-rkagan@virtuozzo.com> MIME-Version: 1.0 X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: HK2P15301CA0022.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::32) To HE1PR08MB0842.eurprd08.prod.outlook.com (2a01:111:e400:59b2::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 79e7e7a0-755b-4202-4cc2-08d4b8c2274d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:HE1PR08MB0842; X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 3:DsSrUqyBSlXZXm94RPxVOESzI4zIMZ5ZD/W4skPTHV9cHp1i9vZZILe/XvGoxAWWZC3cqmH1jbU+6h3GuT8OiZd46ui4BVT3uzrAW6Ui/6gFr8kScRNVL2unBMGhnf0agViGBhX3wV/UvqaWroylyVuKx13OFGZR76t+VxFcqqo/ocElGXEPhzYaxPbS8sKI8WG3cxGRKKDDh+01tLLTMHdAc6zGpwKydq6URKS1fj6sv1cS9ol3JlSob5LvkgJyTHLIOAcLhiwpPLRw2vtPmfKq9DWNieWrg7unYsL99z/DEcRJXBKsai6+Mmd0hsQgGT+4RpjqLscHgf8+8xVY0Q==; 25:73OkYmZ4gTsxV5h7NPro5nE7O24mOjTzNhc2sUT/PIfqy/chEKAq2c8HDC73QodOcCYNgWDTnPpnNOegM/NjBrKyQgFh1OsVE7Iw9VEF/GWDFFFQZuuwTohRLfBirNBldtIZANK+M+DjSnCMh9KmwKt9WlxL2hbtiNrWDDEWdEBHpzjwAJ5P9FaZRmKYQqXr41IXG+z9S3Un01j6UibrY++x2gjvMnt40K7USDsaG9qEaF49z3th1IJ99BKpjcDL08XQb8Mcw1KHIyhHXWxr3uSF9BFcgKC0cN8nIxMvVkqhW8h/xvWfT/cQkR0HQXjxkyk06WE9TYMtFlFQCNkbVOiLuXw44cWRZ/L9NYF52gXOGEx/Cb2Q4BBblrglRrf3d89Ci7zC9+vKo78CG6/8UbyStCDRFGxg63XM3/rRuMXQQ5w8pDc75ckFGvoqCymDjYvpi/wWq94z5fZsEXGdoh7kucaFigkonDXYGsOul+k= X-MS-TrafficTypeDiagnostic: HE1PR08MB0842: X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 31:u4TmlZyO4x+7VWczQHV7fXtja+tNxrQWxS9do7aeVgJIRMb512vPpw9VF182pYC59ky5yFHS12Lilf0YrfrMs43XMEtcUdy/cZ1mZfWzmWKVSLkm4p6HzT1D8KUWIKyxX3Tnrwbicpd02AA2Emy5o5kwuMN7xDDEu+WhKwKScolHvaH8vaqAq/AuKg+DpViaf9mo2OPtnGUXa9vf/ZskQw0UdkKLeah8TikMtWI1ZLE=; 20:r76F5KeMwg396UagrNeM1Va++8MjVYwOJhXU8jhE18hS4Vr9JkQyjTvNOLH2MqrrrOCOim3Mw9KkzFFJ+txLe6Bx+tFFRLRxM207RiR7+oFBqa56x6ofGri9wDpCFbLkilw7nLOKOKm0y6LSIzhcaQBn3xBjumgpNTNYqReo9HtJpamnFVcRJmk6l1bOiKOegoYSXJUsxQgqyVF7ccLk/mutBwHW3ZAewyBth26aNjVpmcEDIxzPad/A4KXg1nd9PVbVzTtbap/oIkM3ihKCw1zeGInNu093KjPRsUnQYKgLj4U3NoAQK43ICmwCuS3AO9LigSrCAr4tYocjQWGaj4lQvmIR/Jjn20RUYinryfHP57lHUKjyq8AD+072zHfYtt5wsOCRHhcgwFlaZHjEbRB0XPJgFZIWDYdbGCm2k7c= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6041248)(20161123555025)(20161123558100)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR08MB0842; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR08MB0842; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR08MB0842; 4:u1ezQzZw9o2zC8PEaPrret/RfkV+PP2V+NQSewQJhC?= =?us-ascii?Q?De8vBaRXvy/xmvpFvoXb668c+b4z1oKnQ8ZwpgdNBzHLDuhOXCYqxL72Eiw4?= =?us-ascii?Q?ldFRL726EzmYFbcdDy1xD/lR3PSpvgppEvBva7kesRWj0wF51jMVEDMvgQ0o?= =?us-ascii?Q?MZTbn9v/7ZUQf47aTUt32XOFLmLzlOfxMTbge6EZdrZh45/n5sQbvXNTim2g?= =?us-ascii?Q?k+WrJE4lpF9q7kDP6ZSq34kHpXNdSbxsNu3MNIIKRO6oecCswWaDQfIRYxD9?= =?us-ascii?Q?T1fa7p3yXk3o3FAAZ9izUGMvqcTQrFNG/UhfRgmElzwhwdHR+21EDgh76KKP?= =?us-ascii?Q?WGCVneQYKutUOTYU9qzjUyM7H8spy0W1jZ0PFhN9qEv4I8hGOUdrncz+xvqF?= =?us-ascii?Q?2zpfKFqTYDIIARaYn5UC6k7uroibJl4ES+biyxFWRCg10nXHKaikqIn9MXAh?= =?us-ascii?Q?Yp530ZC/O8uYoo3c1BeUm+s/AK8GV6qu+6if8lz6Gpp7EgfPuByVzvlGM9+t?= =?us-ascii?Q?m1/RLfyW4HifnUW9oQo8Kg1FRXUms3uKgtX9sNXRerSp8YFlz7as9oahxjk0?= =?us-ascii?Q?nMHlceNn6Fjr/dYcysswEIjHA5nFM25gB3vQhxWJ8uM5wnZ6dLQ/f+PqCzEc?= =?us-ascii?Q?Z9IqaaisIXAMErk2ToYRNNJ+Tn/UMH+OUkTHhQv5/55Eshw9+yY9JVZA4m7E?= =?us-ascii?Q?Y5B/+eZS7BTugksl+Uoxxljr1X1THWWO+eXYhNNGQiRo2auEbfWZpWITXOPT?= =?us-ascii?Q?FlcZoHLAvUjJIHCnk9h23kabb8nzSBHVacvjLmVKboj3CVzvilmx+Ez6IhSv?= =?us-ascii?Q?4rB54Cyodh41/nYYCZCLN8A9CklbcjzbAGl477Vv9PmB5dnYUMfeK9hmB8Zx?= =?us-ascii?Q?70PazpKjdbhEnOWbQREyhRcPqKnQIw6zzOZ3RVzE7awb8h3cKNyLyhKCd4hj?= =?us-ascii?Q?H98mD35rTHwSgUPts070Ng6KSvHbA04rSx06AWWbavjnRmVBp24vaZhVK2bn?= =?us-ascii?Q?YZGqRnqhkwCBSkiwo7atTUcxOM2xkRDf3KDjx7bP24ElcllMqo3zTKO5CIfV?= =?us-ascii?Q?+gWmh3slMB8s+dWiyVQHYaf5PZ/ZiJjVB1+UDCtsnJZay3LGmIZCVWkOCfiY?= =?us-ascii?Q?XNgsC5IXsLqTGAT5ry4hjePEgVLxqN?= X-Forefront-PRVS: 0345CFD558 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39450400003)(39840400002)(39410400002)(39400400002)(6666003)(4326008)(2950100002)(6512007)(6506006)(5003940100001)(42186005)(53416004)(54906002)(50466002)(86362001)(38730400002)(33646002)(478600001)(50986999)(76176999)(66066001)(53936002)(81166006)(7736002)(6486002)(189998001)(8676002)(50226002)(305945005)(36756003)(25786009)(5660300001)(1076002)(3846002)(6116002)(47776003)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR08MB0842; H:rkaganb.sw.ru; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR08MB0842; 23:VEo9cZPkbwvScGo1hCFKH7ghXZGb7bpGdlFSYErLQ?= =?us-ascii?Q?MK2exSZfi9lXdaex+SW+urn2vqPN9vn8EF8PKgN8ihTF30xISpv+ztubXVqZ?= =?us-ascii?Q?UAuJyIR38vLNaIkhVTSC5Ii402YIGBzJ8x6U/GygHfMykCWipmy5UYSWnzGs?= =?us-ascii?Q?FwoxreAceu6yvKLmXgXYFMB+VFFTYu8Wkx/lxGFLcR5uW6YwJ6X3z5GhNS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6yF7UUo0aZxM1eIvgRUYk6XgWnCUgn?= =?us-ascii?Q?uHH7+o+lEZhp/zrROyr7DcmJxmTZ6BYXKk8kISEtlIBWUJDYXIDlHu9ETa7z?= =?us-ascii?Q?g=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 5:CxpcoAIrGHpxG3wacCIiG1Toe0wxXPhPgTJbzdMIHa0JzXA5oq0DTWUMoWbFnEb14UovS+V/99zBBLOAddy82qx78WghNF8ZAhl/8LAhFH/K+2++s699LT2e8afXEFa0BFfnWM92iieaCRconAAhm1bCG9xQwWVSzLVjUG1XszaUUfewbU+/npXUxtXobToQtYZdGD3KVVaJUOamLsUzQ1PcVsYWzf4ep/w5XN6G8n6YbzrawXF3nfArMXVVD6SWw1W4Te6z/6GCEVLnf6d8BsEzu8z96s72IkSmnRWmEmY9gJTFil4EkkA7FXq+xSc62dT4S5ml6MSSWZHp6g4yEu21REYLSAgp6NEDucgQwW5V+onrg0ibLq/uKz8wDB/12yNkdCiIPNaHp1Y3gRwYOdT/CuSovR6w+yU2IFaNHTnnzFZh4ZFu3yc8KXuYlwZpmodU4ZLfjW03lCHhab4y5a4kaMSDC0jKgRjC+KFpexkXS8iEuN5VGKAL+l+2bO5X; 24:jm631Eclq0VJhT/xE76WezOn9LPoM2+/vvc26LleKHhPxfIVsSx62bZjAUxb6gJ1qUYvGXo1tY5E8T15IIDFyD5eTVY94IE4Esn0NhMDSKs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 7:9X/xp0gjIVLg1rXGgNhiKeLtWqyIDktmiNTQHyaivtPQ1l6m5nSbZLiL2CsOgkYkyFLwDcBK2OfcNsZXWCuNlRMgZczmv+jrbc7k9ckWZQT/h0SqRANmYKTmbfMyhD9qRkzW0kmUAJxBE9QHgN2nkKWB7bDfmV1vFOC0nV5kCPLnbstFDXRh6HzxMcPflwXXrh72RdAb5lFQIqdlsMmgpLnCtRSRyGD1neaTludGcuLR1jBvltMxWGt4BoewVeX4XHFZTriEnOeIkvF3mEo6mRiuhwk3rCB3u277Y6pVjL2OuYNaFI4yjPPTP3EvrSRcDUhNu1luYuBxv/8gvQ3p3Z9yWTFNIxR1B5ixU+xBwgvitohndHNr24p8kqpqwq+8IpaduwmBexsp9rV7yF/SRFfIsL/Smu/FRKXHjhkkWifjJXIf81s2e7BzPdl15KP4xbtSEmVP1fzJnfrCpLXc9YxuD5MvXhfosvfQz5lpvTH67IU1AvuYiGpHgXBV9Q1lKJQQLE+bJthkifcb7t0A6MW0BHk/VoxedCv3NjO4Ym2BQfHZRf15HrllCOPgbBMfjUuTUKjTE1tht9oSGzONWFAh/u/DfpI/1bLEUEqttXcW9Z7OZEad/B5i2yaZFiax4ctXQmNYhGd0kyjsd0vxgStDxdl8osu5uZdT+gAAJxvl8Fy7d1yRei1Y5mTcbtkkRIDjooi9dTQxjPfZaorNHiYe4Qmf+tMsLofKXdHbYYTrEFq26kLwBZoY6hafc9VY2QxD1jsYJeWEcvEdYx+ff/G9jp2foWPsipNjBbW6OQo= X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 20:QdMhWkJ2citdyfa/lt0awwVJSRb0K++maUbtzgy5Z30FeH5SKMD5QHyI8o1OBEqPiS5tjidiqw8hH/zjBhYZEpyCne8G/DEn1NALsxQ4WqKcNctlCHfXIHU2lUv1KOajgx/AnlXCXOqJ9K8/665bgZilNuwCrZUqlQpeCz9lI80= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2017 16:25:34.4561 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR08MB0842 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.1.130 Subject: [Qemu-devel] [PATCH v2 09/23] hyperv: cosmetic: g_malloc -> g_new 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: "Denis V . Lunev" , Evgeny Yakovlev , Igor Mammedov Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Roman Kagan --- target/i386/hyperv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/hyperv.c b/target/i386/hyperv.c index 4f57447..2121d8f 100644 --- a/target/i386/hyperv.c +++ b/target/i386/hyperv.c @@ -88,7 +88,7 @@ HvSintRoute *kvm_hv_sint_route_create(uint32_t vp_index, uint32_t sint, HvSintRoute *sint_route; int r, gsi; - sint_route = g_malloc0(sizeof(*sint_route)); + sint_route = g_new0(HvSintRoute, 1); r = event_notifier_init(&sint_route->sint_set_notifier, false); if (r) { goto err;