Message ID | 20170606181948.16238-9-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 84EBF60364 for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 6 Jun 2017 18:24:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FFA21FFCA for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 6 Jun 2017 18:24:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7143D1FF2D; Tue, 6 Jun 2017 18:24:57 +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 E35DA1FF2D for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 6 Jun 2017 18:24:56 +0000 (UTC) Received: from localhost ([::1]:39638 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 1dIJ9z-00015B-Rq for patchwork-qemu-devel@patchwork.kernel.org; Tue, 06 Jun 2017 14:24:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rkagan@virtuozzo.com>) id 1dIJ5M-0005kv-3X for qemu-devel@nongnu.org; Tue, 06 Jun 2017 14:20:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rkagan@virtuozzo.com>) id 1dIJ5I-0007HI-4O for qemu-devel@nongnu.org; Tue, 06 Jun 2017 14:20:08 -0400 Received: from mail-eopbgr30138.outbound.protection.outlook.com ([40.107.3.138]:64275 helo=EUR03-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 1dIJ5H-0007Ep-TG for qemu-devel@nongnu.org; Tue, 06 Jun 2017 14:20:04 -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=+EXqH4fbJDQefJhAQIhMkfYzWYp42TqDDXskWVb9LYU=; b=P9ZQFHVrPnnXzMyc6caETt1QMLGz5cV3ZFBHnHsHbTUGvokke/hTZwCY2K00ireZNmo94uA6oeBKsABjECHEl12neP70/RTNWyNNjqeKVUSAKrbigdyChmtVVd9MwwjbR8hrpDc4A4fg4iyyecj9sYDBsJQZV8CDhd0XVsPNV8c= 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 VI1PR08MB0847.eurprd08.prod.outlook.com (2a01:111:e400:5a05::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Tue, 6 Jun 2017 18:20:01 +0000 From: Roman Kagan <rkagan@virtuozzo.com> To: qemu-devel@nongnu.org Date: Tue, 6 Jun 2017 21:19:33 +0300 Message-Id: <20170606181948.16238-9-rkagan@virtuozzo.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170606181948.16238-1-rkagan@virtuozzo.com> References: <20170606181948.16238-1-rkagan@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: DB6PR1001CA0042.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:55::28) To VI1PR08MB0847.eurprd08.prod.outlook.com (2a01:111:e400:5a05::17) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR08MB0847: X-MS-Office365-Filtering-Correlation-Id: 3fe581d1-f962-4694-5e15-08d4ad08a623 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:VI1PR08MB0847; X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB0847; 3:k0pNKEJ6aktXp6qeppsMZLOD5TMMG3qACwLvV26c5puy6eBy6DratxrVNyUUbi64TsDhtc6MRvqbwfeK6fa6KyFKyCY5Ul44l5zBKlaBOPoHdae4r3BCP/+V3cSuncFa/Lw9oof2tzMxIJQyxr1v9ecLSkh6is1Wgqihtk8DoHtkX8rz4Eg5FmtL4cB1KYAFNsY+yVgf5nuhc93WGp1A1Tl3Ni8xc4K4wjyK0XRgvU2LNEsxneK6Bzgs/i/Op+ThKkG4UTxvrHgheMDbbQWulU4KWq+l3LhOy4TzaXszhj3rAr9QnpoFMPlOeyOf9DwOnSe0/Pb7RVDSRRZKusSX+Q==; 25:Fp7wkJ0hPY86MnkNby4POanmpR9BW3g8lMXPOAyI76slQUHrbyQIVrJmWxdiVOTbvlXKNRucxCK6gL1fFV/0w8I8FURxTLlZBcKuJrKWBEElmju2raVSrZxphFVOhUeZ2+LB3gSO4J2eqHlIWJsfh3l41Y0wZS9IbnkqaDgC6yyY0GostRGtNWzLGTSZg8aiWNrumVstJ4zELqCZl2ovnmhkF0y68HXF97X3NnwA90SzrCJXuTF1NHgpM1/bnbNmgdbVnLKKOKe1ui4H2k6sRATolMm9+RlGABIfvgnxMNUcedCdkUKdLRYohUBhq5vtSsZad6SX3noRAFUJ0Hu5L07/LCSSnNVVQRa5HM4PucB6pSLKujZsEpFQas8KoFecO8WXHi4kPjgPzl1PS+rbWDhkWln5IzAaudc/PGu2DSemCgmSKVpdpBntwDEshuAWiFo0A7VkyCEr5BfPDpZuM3tW+O5NsmYxzWUuZWvzHo8= X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB0847; 31:ywk6dmV0AlpbjRDMyFkGRAIKftSGvfJA3cVsZqRGOb1mIX2RTrHvHpzWpDIM9h/3awBgtuRayLYTq8CGNR6jI4OTRcvNsqnBBRkiHaymw8QQBKdkBmhIAgQ7oZLXnrQfyWmlXQAyQDtG15icWlyR/td3eLQWPlSfnRs04lu8L9roNEoi77kZLO6F0OombsRe64UVgRpquRLzEkO3QW1//KnpmICoj2BkQPO2f5xaoUc=; 20:32TgLmZacoObtYgaHrv2WUFUDM/zsRREKaPSGbMHxEdlsxyjJKZFRJRTWlMENiw38Vr2NeWfLzwIVmCAefjZe2zt64QE6aEExRrlcyg5RUNHiXCOJZnswx40/WHPrhEhRM8zxWwKw3IyeTFKUhxM9dscWu/1eByuYE7aXOC86zenGSLG8C08GmG7KrWrGReiikYgJGWafcSSIay/x9Y8AVFcFUfzWDcEtj+EHKTrv3Q+k7PgOlUiCqic4QZiq7+l/s6Lk0Kxk+aRKTOm/p07ittraLDGqQeNj5a8Ym0dCIQkAvQJv8xnBsnvggVGv0FaEXe5cb6X83RHhBO2v+H6DaahUz14F1oesoNiOriB02KBE/V728+pwNVFmM8LSb8KxTtK9NAFiHRaTuKUxXDn8hGzPyA6eEhoRfM/Gf8JKd8= X-Microsoft-Antispam-PRVS: <VI1PR08MB08479A5AF4D63323003ADF5FC9CB0@VI1PR08MB0847.eurprd08.prod.outlook.com> 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)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123555025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR08MB0847; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR08MB0847; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR08MB0847; 4:aarzg3Xq6E7mdqKyFODg6o0ESJPBf2c5EVfactXyRK?= =?us-ascii?Q?yyySeEmD50JQAroumb3jU11duwf+QH3gCSrJ7KR3PPTWCR4CDFAMcV3OzFZn?= =?us-ascii?Q?xs/lJZ99xFZJMak8nEHzlTEAkQCOHHkUqetvZGQj/dWePNNJXBsxdzsqwwOw?= =?us-ascii?Q?v9CX3VScJl/+lA4HLwyAnqkdWPk+Z3PogloHg0HQCIdi16xSgH4pktW3CWSk?= =?us-ascii?Q?735GS5MrmFS1vsCZo+sDc6SZLFi66IDyAUH+OnmxAiJQwLYbYMKZANoz8+jY?= =?us-ascii?Q?0Aqki/O/9t2d3uIHSGp0w2rbmkJNcwERae7eb/mXM+L2hvWHXiI3dSu4apV9?= =?us-ascii?Q?TQGcIf27LNEL/klBGE+fMaRVoaPkwuozwRg18ffbj/znyqGkXXBLSr9KeDVt?= =?us-ascii?Q?S57oh+hI7k2D9SZurJypLYwRjB5xFFJVJtFe6IqfoZt0mD2sjvoYZzjaakfB?= =?us-ascii?Q?swn9oLJnoQXKxndrvaZHilQm1Dfmb4PciwPeiwLWLA9/YcSbvkKZDgNg1u/y?= =?us-ascii?Q?g4CFOpftUQclIAfxBEHHMzjkef2wt9AVmubYVK1b2/0FUwjnzmUqfVGnETK2?= =?us-ascii?Q?zV6++5kG3IlQU98UT/CS95yXNCvZvG3bSRWvJwA7ofExPQcJ9J/8JbwjK7TT?= =?us-ascii?Q?d6/3apI5nTCupTYnv8kX2c+ZNtN+7M52ETosUngmwIotDYD+CVG3dkOUFyDg?= =?us-ascii?Q?0Luq733JDwP5aSaGr7ZR/u3FEzRZ369c6B9qow0xd1QlKu885YaFc749cukx?= =?us-ascii?Q?RpYJuX0Gzk2efbnkp6IRgfWHmuqdJ0piE8d6x3Af+9mpur9RQ1QEGOT96Lnh?= =?us-ascii?Q?n2UZB/LJJfpNPrF9Me2oMtC6RuldAlQtGJhuPeqjxJlpa9sV5gXg2G065Vyo?= =?us-ascii?Q?+7KRaQdanqdkSGxBsSeNcdV1/yMHwxRAr8RVrvCXZT60fJa8hXBka8bcveXj?= =?us-ascii?Q?pgrGtw95Sv/Y9F4gEgWw2cluQFJof5xbrXQq0JMrn/80iriQ2j+HL2fSxkW9?= =?us-ascii?Q?pUsyM+GVwLflFyqzgw1rvsXjmbn+1J7hAEM8cPs7iKtp1x/hmID7t2qPVGfA?= =?us-ascii?Q?1IC+NYwuH8+lsQ2BFdd353f7BT788jm9atmIJN51i3aDgXs7X9TX1wf0vAVy?= =?us-ascii?Q?9vRhCIWmQIZN1xSyDtvmCqfZ6Nj1Lf?= X-Forefront-PRVS: 033054F29A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39410400002)(39400400002)(39840400002)(39450400003)(48376002)(33646002)(36756003)(47776003)(6486002)(478600001)(66066001)(5003940100001)(2361001)(2906002)(5660300001)(2351001)(50226002)(81166006)(8676002)(25786009)(1076002)(6512007)(6916009)(53416004)(76176999)(42186005)(189998001)(38730400002)(53936002)(4326008)(50986999)(107886003)(7736002)(110136004)(6666003)(6116002)(3846002)(54906002)(2950100002)(86362001)(6506006)(305945005); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR08MB0847; H:rkaganb.sw.ru; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR08MB0847; 23:DWLH4NNNQ6YqKj3tjTSTKY5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4BFzAHpqazjsyNH64BcnnLEVRhf6Osw21fWtowCcy746qQyEkojrHFOBwgwuln8REmcid8u1q+lBeQgAuktRqTxhAs9MueS59fsO/cxQT8Z8q/KmbeCqU3ti/igsJ26EI2gJ8ReM6zhwxHdS7hBtUHYGJC/6LF3LdqRFCIBGBUrHH68OMVoMczXRbRA8vai10ecJ9DXc5/HFSsV3KPIuulE1XWoklaJHPlGps9u9+61pYvtDDfMKajyMeMua073RvgsACFm1n3DRMZD5bteLYYrO0j9UpBFm8YG56mbIoO0/D+DNOP0sQdyW; 24:UPhdgrZWG8s668gSH1ETdkFkJJQC82aoTVCYVjij2GHC+H1nN+9Jl7Jg5/u66AAyLjmbaJ9vT+TlAL7uWJpN7MqG+LgbhmCNco4JQqnrW5A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB0847; 7:iFnu8NRmcE1UJgkFBuk8EjwxdXA0ct9PeKe8TIZ1bsi/7gXcT2iKUAIKhuhuRMWwl9XWwvooO836TEnPj1G/bp5l+raDTOSK/n4G/6t6E5zVSaBRh4/cuBnhqMUuNdP078jpAbw2TcTutJPGYtvyh4UK0AdC9HrVsh6Isj9ZGayT9aF6SDeBQ5FfU1bAEq1J0B/98vtmJWinqCXAZde4IkXWxmeTOZAC9bd/C3w/bXE9AvYET4NnnprZvgCtlQKa/CTjlQPiiJXeatqz7GIBi5GCwKl10W3FkMG4qFcRYZPC0V1JIhG8eRZR9xJ7R6VXj6Ieq2NeON0/wx3BCm9IGA==; 20:MYFSSoyxNcGxGltiayD4ieH5h+5M9NvjFh+yohsejEDyjjPoHbapAUNfkef6XLt0jut3FBBtFgX/IC5wFuxnf8tRkkDhaP2jl480gk4bq/jUhu/x9TAiSplswKuQG94vmcTK5QNzD9wRlslkUm0gg+D8Q3pf9HJZSt4yemt6sGI= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 18:20:01.7574 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB0847 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.3.138 Subject: [Qemu-devel] [PATCH 08/23] 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: Paolo Bonzini <pbonzini@redhat.com>, Evgeny Yakovlev <eyakovlev@virtuozzo.com>, Eduardo Habkost <ehabkost@redhat.com>, "Denis V . Lunev" <den@openvz.org> 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 480bdfe..9aa5ec5 100644 --- a/target/i386/hyperv.c +++ b/target/i386/hyperv.c @@ -88,7 +88,7 @@ HvSintRoute *kvm_hv_sint_route_create(uint32_t vcpu_id, 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(-)