Message ID | 20180702165842.11423-3-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 AA37960284 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 2 Jul 2018 17:11:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E9A821BED for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 2 Jul 2018 17:11:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7EC8925826; Mon, 2 Jul 2018 17:11:39 +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=-7.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, MAILING_LIST_MULTI, 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 0FA7A28C77 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 2 Jul 2018 17:11:38 +0000 (UTC) Received: from localhost ([::1]:34407 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 1fa2MU-0000JQ-8K for patchwork-qemu-devel@patchwork.kernel.org; Mon, 02 Jul 2018 13:11:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rkagan@virtuozzo.com>) id 1fa2AJ-0007nt-58 for qemu-devel@nongnu.org; Mon, 02 Jul 2018 12:59:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rkagan@virtuozzo.com>) id 1fa2AF-00042J-B3 for qemu-devel@nongnu.org; Mon, 02 Jul 2018 12:59:03 -0400 Received: from mail-db5eur01on0093.outbound.protection.outlook.com ([104.47.2.93]:14944 helo=EUR01-DB5-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 1fa2AF-00041L-0b for qemu-devel@nongnu.org; Mon, 02 Jul 2018 12:58:59 -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:X-MS-Exchange-SenderADCheck; bh=pax2d68xuYZyaTxOSJWnO9DiqXNwqJmRO5b2znuh7c4=; b=A5gMZfjZp3fKayv1Rz2rJQqelMQBQY02AQBtAxDlcuWEWVVzauiu7ytLZXBperMVOYEFyZgDSr598Poz8ZSfnQKh+XNlCjHoL+WeyrfGEpRSam6BHw69keq6SUm65LVdbJcoGXtRxIKYOikPd6v6r6e81udk7njOrCGrstgYwr8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rkagan@virtuozzo.com; Received: from rkaganb.sw.ru (185.231.240.5) by DB6PR0801MB1974.eurprd08.prod.outlook.com (2603:10a6:4:75::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.26; Mon, 2 Jul 2018 16:58:55 +0000 From: Roman Kagan <rkagan@virtuozzo.com> To: qemu-devel@nongnu.org Date: Mon, 2 Jul 2018 19:58:38 +0300 Message-Id: <20180702165842.11423-3-rkagan@virtuozzo.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180702165842.11423-1-rkagan@virtuozzo.com> References: <20180702165842.11423-1-rkagan@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [185.231.240.5] X-ClientProxiedBy: VI1PR08CA0234.eurprd08.prod.outlook.com (2603:10a6:802:15::43) To DB6PR0801MB1974.eurprd08.prod.outlook.com (2603:10a6:4:75::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ff6ec750-dc5a-40c1-af1d-08d5e03d197b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:DB6PR0801MB1974; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0801MB1974; 3:ZraJ5NVq1OWpNW/jj+pG3KiY5Rhc/wFByiXKqQWuuO9j64GsV/2f3jKXsERkzrEGqY0+NTTO3mOkr0dvmkVPVxXdu9uchpSmIAR81da4pGwJg0QO44ospsr8x409zW6XUhijUm+h+95ASbVqBCIASRzrihcNPhwzthJT8LXNzu4do/i0IPag6wWGnD6kTFcQhLpfn75wukl3UBSvLrezW91WZcLazHvU0X6X889MY7CwHovBUzwXZFOO8z4H/vB2; 25:De4hdl/2Z+GOJFlcnOB2TgUERf+rxctKZ3EV+RbkvOZcrLD7rRptY3aNgV89L/fAnXEAQ8lU8legYWhbhQ7M2ShnyaypEWKqxXw3h7I08MZNfakzu6d5hQ8d6LJCeJLUTbHDKHmglTfiAZ21CVknl2norDqC7+/f5Ga3a4lbwk1oXX9RS6JW0oojXG33hDfTJNhhyRIeRlXXLyPLBRRgM110BzvSx1tl7TvDlGEqPhVYot0RfjXrhQveWDa9dKzmdaADJe2u3CxdiASQBqF8DTzLulUXUD5AOqyoC6j6XO5vFHjc1rrfRqyfbyFnb/+lKkjRuaVL9SD3M2m52KnTqw==; 31:Tg5wVrJzXucyhTR9iYjXnnvISxRE+VxTBLuxYSHmjmVJ6GeJt64FczyEhkL5otN4O0jzLE4z2kv8z4TH3zvbWYJ/3glTyws2RSExz7CduRpNbacNsQOJN2jGsnE1cxrIsNMgy7dtLesBVo81TxyLrQl/mmf7hGYDGzbJnw1oRgBR/mKCIHBSKbjUt6HmBgIj5vEVdcADiLKmdq0T7e7XIeEySjlXM78dWElJDJ+xfig= X-MS-TrafficTypeDiagnostic: DB6PR0801MB1974: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0801MB1974; 20:SKCYOpsi0hncZ9tg5sLm6Rnma+AoEECOAz6GtAchEtb5JtsNQMTBlG7QX+iF2hOU296p24ID57y8dEc6mKc3f5mxsww4gR9uKK2t4Cw4ux4M5oqPG2p3zijjtriqCblzmgq0kzGu20PPpmXiqNPwKnBqYUumAfTbxN5ku+TWOWbSjvGhsFucWrzYfjAxJwc5ROSerfGjSqYE1xiYqII14bL2ni3dSak/MZOBUbrOnc1A9xtqwoFH5ChMRK8f+DuOKsdZFgadxYvL926Zx6/37OyrXsdT6iY2bOwY2otOndsWZZG2CzxsCbRBjF9ZP7MAx5Cv2OzzGNZv85611GIKq0V31jGtaPcoV02+oSA825Uw7a83/FI45pfEw83aw6FR/xhFmzEWnKKdGiQfAujChJ43OK12Rv6sffKDd0bblCyAvF1vkX7s0NXXirhOb+kdK+Ym2TaC6ctpf73+zpVXs3JpojBiqcXgzDNtbbtr0rilj8rlsr7JqVRIvxVeUkYF; 4:zQrC6ByOK45gDUt6GSbAOwbptJDAf9ZbxiLD9CTi/H9L69AIMgxh421cCLI5gaQC2hnoUTLVIZxT1xnOW2Qzq3wMv8EngAEM/k7mqw1EXrLHnj9J0odkYePSUhqo46X0TQZV4ZMe0Xnzc5Uu+9s+Ok+vmEfgvdSoSwjOWkUhbACdzWmAa87pFiUtZp1gM01zsAzvu1EbEf6cYmvWCgiNmJ5CFZX2tQJey109+OXlZeeDPzQ8hWWODdr4y/wI0Dl1gDfqQlO8F7umy3usYvRqBg== X-Microsoft-Antispam-PRVS: <DB6PR0801MB1974F07E5273750229AEEFD9C9430@DB6PR0801MB1974.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(10201501046)(3002001)(93006095)(93001095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:DB6PR0801MB1974; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0801MB1974; X-Forefront-PRVS: 07215D0470 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(39850400004)(136003)(396003)(376002)(366004)(346002)(189003)(199004)(14444005)(7736002)(26005)(53936002)(305945005)(4326008)(50466002)(39060400002)(478600001)(6506007)(386003)(186003)(6512007)(51416003)(6486002)(66066001)(47776003)(25786009)(76176011)(97736004)(2906002)(2351001)(52116002)(16526019)(11346002)(105586002)(36756003)(8936002)(69596002)(53416004)(3846002)(6116002)(106356001)(81156014)(81166006)(446003)(2361001)(7416002)(86362001)(54906003)(2616005)(6666003)(16586007)(956004)(316002)(486006)(48376002)(68736007)(1076002)(50226002)(8676002)(476003)(5660300001)(6916009); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0801MB1974; H:rkaganb.sw.ru; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: virtuozzo.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0801MB1974; 23:UWSGmUF1KV2mB9CBpducW83JFvkR3KbIYKJLiWb?= =?us-ascii?Q?mF0+ImMB6gzpBj7JhjlOBsWacsLNY5UMZdpJ8K2Kg9Lmy5/sGvbNrCnmA/UG?= =?us-ascii?Q?Slx+3EPRTgaOoKOOqOxeL6NH/xVdBzBFJb3aWQMY9lNMcHMMhVqrJOA2cqym?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VYt+0SAkfWk69td4LBv3AAr2s+AiIJFJNAlIRzNd5ynB28paj5GTA7b0cb5fIcr3ovwdky6Y8QEwNSfWT/4Avoyi/x8gcjcE7US42BsogSz7hxYn55ekC/Wood2SshlpzC5qQ4Cam8WFzUGPvHOQXnLVpo/AcDElJSMeCn5pxrq1OptB+/tCQnhrnfUdyWTEW9gYB3TrZrYPxbb6mBHZf3jx73TRWbNPLA65QVlv04akdgcqAoDY1urO7Qg==; 5:yUGsas9xfvS9F5Ph0zsg9C1OZyvAtdjSQFzGme4C8dJ8Om3SI2c6c0A0FW8Zww43L/aITBUhjxQzMLt4opO5Kx/LKGv9uWHedPoT6wtZGlt7OyNC348adH59H+LzldwAxOuInTvYCv4PPLgBNfL6Vi8ed6WTFcxn4RN+5mzgDNU=; 24:qoHXujvA6A27ILzzvbBrv//ROQc88A9m0WsMgWedSIC24w5oBqhTjFKnczOZk3CXUdSUx66c6eECf0pyO084YxVLfFbQJkVLYHJETlWzwoM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB6PR0801MB1974; 7:gIU64Qqno/d8vaZgTk95DmNLqqFONaQLYjsi6DXAzaffB5l8F9h29DuaXMaVKIG/5c0sRrDW/YZ/4thuuumTX2NgsXdiJ0YMOB1XLQ0gNxPMZ+Z1G6Q2O498zxTAQdkAMe18TsuUkBRnKzswNuTIFWhdrBFI74buOu23vNVzL8mf5/1bKZCOBDi/6+Y2+C3JCSfXke7n6Cs7fZsn3gDmLqah+m0vFVgeRMM28toD7787oDQ92nNKiQ6rLHxyMb/7; 20:BNBPoeO7Oqi8sSi7yTv9YITqfYSvCR2mnHalo8QKD5N7JxvM3GN4sB1i7j0FvcQ2kpYFe/naY0j4m0qme9G94EuNHK3g4hi2Zz4EG+fvX1Qn9MdoYyXXWwSzlEwAlOike8ZRjqhVTrnbXe/cX+1Yqo+Eli08GN/mSMzpZPcsT1w= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2018 16:58:55.0501 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ff6ec750-dc5a-40c1-af1d-08d5e03d197b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1974 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.2.93 Subject: [Qemu-devel] [PATCH 2/6] 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: Vijayabhaskar Balakrishna <vijay.balakrishna@oracle.com>, Eduardo Habkost <ehabkost@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>, Venu Busireddy <venu.busireddy@oracle.com>, Liran Alon <liran.alon@oracle.com>, Igor Mammedov <imammedo@redhat.com>, Si-Wei Liu <si-wei.liu@oracle.com>, Paolo Bonzini <pbonzini@redhat.com>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Karl Heubaum <karl.heubaum@oracle.com>, Richard Henderson <rth@twiddle.net> 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 3065d765ed..47368b77c0 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(-)