Message ID | 20180206203048.11096-4-rkagan@virtuozzo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> 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 7304D60247 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 6 Feb 2018 20:39:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 659FA28D55 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 6 Feb 2018 20:39:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A54028D5F; Tue, 6 Feb 2018 20:39:30 +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 BE88E28D55 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 6 Feb 2018 20:39:29 +0000 (UTC) Received: from localhost ([::1]:59069 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1ejA1Y-0000kN-NJ for patchwork-qemu-devel@patchwork.kernel.org; Tue, 06 Feb 2018 15:39:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rkagan@virtuozzo.com>) id 1ej9td-0000W9-56 for qemu-devel@nongnu.org; Tue, 06 Feb 2018 15:31:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rkagan@virtuozzo.com>) id 1ej9tZ-00031R-R6 for qemu-devel@nongnu.org; Tue, 06 Feb 2018 15:31:17 -0500 Received: from mail-eopbgr00130.outbound.protection.outlook.com ([40.107.0.130]:53824 helo=EUR02-AM5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <rkagan@virtuozzo.com>) id 1ej9tZ-00030f-HR for qemu-devel@nongnu.org; Tue, 06 Feb 2018 15:31:13 -0500 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=aLx+U59ntRyRV0XhhqHRqgaX/ILDQ2Ki3r/uqkd5oPs=; b=Nx64zAVgI2F7SvGI3sIFQOXzZa74JBFcUvfLoHXt71gV712CKCPMePPmX0iSH2I8aahk6SHeiFyAFm7A+kpD5hebNgOI+h8U0UDHclsFg5rxZSCBw014CugVuQWMU4monLYoEMdbMAz8TW/LGcYGv9wcvFGf7Pm23cPdz5NLEfc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rkagan@virtuozzo.com; Received: from rkaganb.sw.ru (195.214.232.6) by VI1PR0801MB1983.eurprd08.prod.outlook.com (2603:10a6:800:8a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.464.11; Tue, 6 Feb 2018 20:31:09 +0000 From: Roman Kagan <rkagan@virtuozzo.com> To: qemu-devel@nongnu.org Date: Tue, 6 Feb 2018 23:30:17 +0300 Message-Id: <20180206203048.11096-4-rkagan@virtuozzo.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180206203048.11096-1-rkagan@virtuozzo.com> References: <20180206203048.11096-1-rkagan@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: HE1PR0301CA0008.eurprd03.prod.outlook.com (2603:10a6:3:76::18) To VI1PR0801MB1983.eurprd08.prod.outlook.com (2603:10a6:800:8a::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4c81bfc5-fb9a-4849-e896-08d56da08f70 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:VI1PR0801MB1983; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0801MB1983; 3:WdQfYLzC8eCp50u+341haLBiK3RFCJ33rkjmzMD46aNssghf0bosQN9ubR5+FpYLxGTAh3UV+IQ9Fok5JCMcyTMNPal5J4TwARifWPG+slWV+liVRJx/tG1H9OJ4vrPHy0DP0RllGYsFpoFp3DNEfjRtxAsuV0JhdYk8QVhfqHrULHcItkcW0b8I+FIyxZhET6vC+q/pUelG+QK7GzwydH8LdDeQ1Ez7jda3/uKvpsZSuE8yTg6VaodPflOtIxgE; 25:EIECHJR4Q3rohvCye9HcOXj1dF/6bAO4cSh/z6/Z7dThuK6tj/5d2G4kQxi385MMXD2ZRm+uYdWFBsxsXUKqVQlTaZDmpI4vGcKFYE4KFcJetrJIbPEFR80bAu4uMdYIGZhSeU2XFEOtZ9JviksR3sDYINXwHGMlS3Guj8CqkRZGkU/C0LON+zdzH5+xXNoh3JMfQ2a0lXDaaH/ySNdnpoLby2lmmW3FWrWO3zCECt6nG6V0AhvK12y/tTFI8D0z/MdxYRJ5yILlgecpgJz3zhn0ncHI0byIJ1cHGJHM5Nsoip5QWqMJ35uK7SYHrXi4eLOJBLFJTulpjnLdDBqH8A==; 31:utmSS95rUqcwER8mLhWFuV8N3kohh0KkL3Ig9RWmA8p7zbXUN+jFRfDn1p17Qf+ywDls+nf7Ub5QZESJUrggEm5JSpdq25dEqZU90J8BlNCTWdTjyX8JlAGIcbywo4k99fsVRS58wlkfhvpyQS5btizaSP1cbpbRAciAIpU/LSFs/n8u+NQAnJ+leM2OZ4Sueysggp4E63xWd+dTJg6GZ3t1hpMZlbxQ6QaaACEVx64= X-MS-TrafficTypeDiagnostic: VI1PR0801MB1983: X-Microsoft-Exchange-Diagnostics: 1; VI1PR0801MB1983; 20:sS97QvBJwP2JDrwfj0+e+mwV1ggwnJhkhiFHJpR/E074seTKC9UIa6iY/c0c99T7ftmH+cs2dmgb/Dyib5zFc7RzqEABAp4tITs9SM4urs76BIjIFcQ6UOjr2YOayt3oXAPlwetJSsGMeABAjHbd8YLrWVupBWivYYx9IDpvyKCLRVgdwi24EREm17LpvsA3W+w+xc5qSJ0e6SY6YguujQ/GNyqeIjKtdYjBHxy6Qghvu4EtLXLPrhld3WJ4vF+PuAV+nwEPhFzLY+TTwxI1CtyQPdFEkATs5k5YTtsDbWHd7Ok/eUNhEooDu8sdP/5nLoDL21eHxiCBh5MCQFw5keptbFXij2Dd2I3am+eiFiip+KIE6CBE6xtbRHZteM613Ga9QZoNla4VsuP7qHYB1gE3DbMQhujzczhnABPz9WA=; 4:2rJtSXnMDThozYlZvmajwOrhHqaAj6bMWJ/VkWHUHcHscC1WgbbF+YgzR1KBJBNLOkAnbJTdHNFyQM4Gwq8NT7yLGHAy3OpmjytZn20gYo6wsgYP2y1gSc1wT4vlf78DJloYPsSL1UMxPvKCUsliifvL7lEMNSeIAhF3s8ygi18/TDVFK06Fyjp3+GeYrHRx0rry4QzXeFak8RLVvaMoZku3ys+oBI9jgrH3hMDJ4AHgsLxMRbtyLVugzF0HXLwM22iAPeyxioqDhxla/uF9TQ== X-Microsoft-Antispam-PRVS: <VI1PR0801MB198367D25B58414148EA0ACEC9FD0@VI1PR0801MB1983.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231101)(2400082)(944501161)(10201501046)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:VI1PR0801MB1983; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0801MB1983; X-Forefront-PRVS: 0575F81B58 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(396003)(366004)(376002)(39380400002)(39850400004)(346002)(189003)(199004)(16586007)(53936002)(305945005)(54906003)(7736002)(3846002)(316002)(105586002)(2361001)(106356001)(2351001)(6116002)(1076002)(50226002)(8936002)(81156014)(5660300001)(8676002)(81166006)(7416002)(2950100002)(6666003)(6916009)(76176011)(86362001)(68736007)(66066001)(16526019)(47776003)(50466002)(4326008)(97736004)(26005)(6512007)(51416003)(2906002)(52116002)(386003)(6506007)(59450400001)(48376002)(55236004)(36756003)(53416004)(69596002)(6486002)(478600001)(186003)(25786009)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0801MB1983; H:rkaganb.sw.ru; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0801MB1983; 23:xYgQ/EW8YNlK467DuiSP7i7U/BR9r3vL6EN2wej?= =?us-ascii?Q?e5hbxNoPr3vJSg8YJx17zQXW8xnyQYmtEAj3YkdVv/IKjcE0gGSfMvabevpO?= =?us-ascii?Q?3d8BcLgElrU6tvtvB6iW0YHqygn9C9/5qzLa4EooD/zgdIX+f3Qzb+gPurGT?= =?us-ascii?Q?n+OKuFs6W57+pxafCpgRBazmbb9m5kubtxVQOwRdR3CFKjdAMOmewQA9YSjY?= =?us-ascii?Q?vC/aR/wxfW62B/dCPdpHVBhBHQum/rSWO2Apm5Oh+FkJeQnqHM4dI+8m5VvF?= =?us-ascii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nyHbLxMr1hz7y9OqdCAF016ngawkKbr4fY/RHbN8iPYvuDPiuy+f3YuSD9vzgxatV7PU32bvumVAwbrdpoxo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0801MB1983; 20:o3l8RpIFFuU+/MOskZgQPgRq2iEJnsmAcxPqWjiKlOy1k/iQneE9FgM6bYY1cmIPRI3XfHoQ67S8KoVSLqn85GivH1bJl0ZJifMctax85DkOXk3G7CGOPSwoyb1aXhC6qoU4CuTd1DYTqR3ngGWlt8n0FkAGOWkfkeCky0X+Ze0= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2018 20:31:09.3560 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4c81bfc5-fb9a-4849-e896-08d56da08f70 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1983 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.0.130 Subject: [Qemu-devel] [RFC PATCH 03/34] hyperv: cosmetic: g_malloc -> g_new X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Ben Warren <ben@skyportsystems.com>, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>, Krish Sadhukhan <krish.sadhukhan@oracle.com>, "Marcos E. Matsunaga" <Marcos.Matsunaga@oracle.com>, Jan Dakinevich <jan.dakinevich@virtuozzo.com>, Vadim Rozenfeld <vrozenfe@redhat.com>, "Denis V. Lunev" <den@openvz.org>, si-wei liu <si-wei.liu@oracle.com>, Paolo Bonzini <pbonzini@redhat.com>, Vitaly Kuznetsov <vkuznets@redhat.com>, Cathy Avery <cavery@redhat.com> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/target/i386/hyperv.c b/target/i386/hyperv.c index c9a4bb539d..e762eac79f 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;
Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> --- target/i386/hyperv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)