From patchwork Fri Sep 21 08:18:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roman Kagan X-Patchwork-Id: 10609269 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 043F4112B for ; Fri, 21 Sep 2018 08:24:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8ABF2DAC8 for ; Fri, 21 Sep 2018 08:24:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DCF622DACA; Fri, 21 Sep 2018 08:24:00 +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 717582DAC8 for ; Fri, 21 Sep 2018 08:24:00 +0000 (UTC) Received: from localhost ([::1]:54378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3GjH-00085c-L0 for patchwork-qemu-devel@patchwork.kernel.org; Fri, 21 Sep 2018 04:23:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3Gee-0003nt-76 for qemu-devel@nongnu.org; Fri, 21 Sep 2018 04:19:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3Gea-00025Z-Ck for qemu-devel@nongnu.org; Fri, 21 Sep 2018 04:19:10 -0400 Received: from mail-eopbgr60096.outbound.protection.outlook.com ([40.107.6.96]:37218 helo=EUR04-DB3-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 1g3GeY-0001PN-Fi for qemu-devel@nongnu.org; Fri, 21 Sep 2018 04:19:07 -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=c5zc/TWKy1p1jsWrvGH3NHtFK3Xcu2YN71ea5G8qtPw=; b=PxwruBvsuVi9Aj9VZ1FKb7BCpA4ellDJGu6oWe3y9mqxO6DYWnKttmWgg+JOrFPodoEFa7s9ShHhH5uo/Nk2wlxx1x/ym+oUO4H1iDBQRBTFkg4j/4fCp89CKbgopRayWhN7+nMR69HURTyR71TYMe+3IOqPu1Vd8LqFMkLdNd8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=rkagan@virtuozzo.com; Received: from rkaganb.sw.ru (185.231.240.5) by AM0PR08MB3586.eurprd08.prod.outlook.com (2603:10a6:208:e1::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Fri, 21 Sep 2018 08:18:58 +0000 From: Roman Kagan To: qemu-devel@nongnu.org Date: Fri, 21 Sep 2018 11:18:36 +0300 Message-Id: <20180921081836.29230-9-rkagan@virtuozzo.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180921081836.29230-1-rkagan@virtuozzo.com> References: <20180921081836.29230-1-rkagan@virtuozzo.com> MIME-Version: 1.0 X-Originating-IP: [185.231.240.5] X-ClientProxiedBy: VI1P193CA0009.EURP193.PROD.OUTLOOK.COM (2603:10a6:800:bd::19) To AM0PR08MB3586.eurprd08.prod.outlook.com (2603:10a6:208:e1::27) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b6302257-8500-4202-03ad-08d61f9ae23e X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:AM0PR08MB3586; X-Microsoft-Exchange-Diagnostics: 1; AM0PR08MB3586; 3:lS4kBhLOSVJtSrhFICtY7/xW9FVaTOlFcZIV+tauUOHOghIZ8vCDq+ScTVmfRPKT7P0PwYQRYQ9fXiYXbXNQBavFPIWbqDTl+y6pQ7zqykvJuuZDNGleKm8nf7jtQKlP9r4RuzOcVdpuJqhxgJWd++Ffpm5+zJAbLExwmnzchPETENuAAP/5r1Fgr1KTNdMxLnQXMEDoGFPQrN5DkQ23/PDqdA0aSWm6LT85byIIilOr9Djw5k78Xv2l0XNEcN79; 25:F2Hw2ZmfvRo0PQo9Qt9/gVZ+4//aZMF+Uanh35tsobAHM50ZN3MYw+NWnw65wTGEnqTybAcambJ87J18ZUt24DazHkW/bWo9WgT1oi7FO1h/yFy53dzN25Koz36gbpeyRBP8y8JYXrBf/Wzy52xPvvHQPvd7ra16vFb89UQ44HvvPmtBwjKveu9nGBVkuo67b9Ws5/mo1E3zrllmjp6fDjLwPRu0StxqzVima0rfZfR3IYkvVcDe1KL/vRGVleGPwkooAcxkFtQJOxTZ8IoeaE6FcuG7hjSLqHZKTK60S+aeuC/EYpx/hPY5e2ERcgzSTSLTSgXQv23op1Q9iLtU2A==; 31:liMjIZinDHAlFlGdRPdxsQ6S7Xvz8Xy2jg2J7LxWf/kK4e3yeDI8RgwR5148pzfM3vXoBLo4PMlcwV52VzFu6j1zNCaOyCsbLIfEFFqQOJ+cT+oRnj0qe3JW2Ww1xtzvfuAdj6fAQLyQZCCq5VMyaIyIeea5h7FYQ16g5f+cHprUKSfsNy8sK/nTLhsiWxzwlNLTcxr45HNL9cG/ZXo5HaFOm0P6JfAMFWML9G+FKak= X-MS-TrafficTypeDiagnostic: AM0PR08MB3586: X-Microsoft-Exchange-Diagnostics: 1; AM0PR08MB3586; 20:ToFolZvAMOzBK8a9ylKBReYtDFw5CmPOmH1Emv7l3NLUdwDjdm5rWj0FiJmeb1gMTyX1NxQm7nUXRDyYgCaaskXLqE5xHlxlju4eoxNvD1iPnv3XLzxf21gO6ny7MgyFCKE6VEmkmDeEa+oBVQeSeu67tiFmfruuNhZ7KT5yKHXkJlluZ3dveo6ja35z2ghicxlIStyE2FN/ORSXcOcxmhGL8yqWK1ROZA0WQrHhchnuAG2dwfIcYi8ftuKD+PXs13uRB1LBAyWbaWD01Y1jb/zmFBIFPY6oFwSs5CG2xQFINQtNWII3n1cloZ+Shtbq1Rici3NbYXW7URcGowEacqShrMzIBw9D7Pmv3d8GpE/vNlVc7h1fOa7wMgNKhvUDbJnFOOoySZu8jXxhEybL8S1oW5PFQoG2cc4LbrqxD/+iFmNhtcBTxtW5+nuAoTbFG0dHXhM/fwMY/N/O3wzumCxwPBb783O7CBo//25N14u5uA/bODwrSnY4LPO+WPnm; 4:i2WeeeW5AODXZ3d0o+ueTtYGMPe2xkhEP7CSNuFgtuGe91GnY/fbBP16FkF6X7UXGAdAMXkn0P3VU9pBkkm2SIYIGzBsjeCmOkDDDhppksnlrYPEwiQ9oSMNL2eyo7yW9R8VPhAY4vh875ki/Ld+wOaO0mvfk1EUQbtZpQ0O9LsCtbKOGHIGq6yfIvh7h47sQ5N86U34wpNzViyCwHoQpqGiyRUw+R0802IF6V48YFV3heHR9+Q1w7JqId4DdUcKbecV80FFkLSSOwRdGA0MQg3xGNjXSnP1OAD+j4MK/L6f5SpF2tMoU2unLGVchv0J X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051); SRVR:AM0PR08MB3586; BCL:0; PCL:0; RULEID:; SRVR:AM0PR08MB3586; X-Forefront-PRVS: 0802ADD973 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(396003)(136003)(376002)(366004)(39850400004)(346002)(189003)(199004)(2906002)(81156014)(50466002)(51416003)(305945005)(25786009)(2361001)(478600001)(316002)(7416002)(54906003)(86362001)(16586007)(26005)(52116002)(48376002)(8936002)(36756003)(76176011)(186003)(50226002)(386003)(69596002)(2351001)(53416004)(106356001)(6486002)(11346002)(476003)(446003)(8676002)(16526019)(5660300001)(2616005)(956004)(6506007)(81166006)(68736007)(6116002)(1076002)(6666003)(486006)(105586002)(97736004)(4326008)(7736002)(3846002)(47776003)(6512007)(66066001)(6916009)(53936002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR08MB3586; 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; AM0PR08MB3586; 23:7LFG3tmbZL/sj7eFlat+OBPKFVRw0klShPl71ThN6?= RIzjVEXHCZmZy/OiDGB0ryks04gCXppPapeksa6/04SLVK7jr18r0uHT+XNMFkw2nU4VaeB1N395HIKeMny+Qi5ATWEZyawXOib8Kk1OFtoLuPLWz27LvKds6l7/Jlq0SGZFpadXU5jlPpEP7nzdVpEwRkT69SsixcgQ7JMcfPL3SJAuNfU/q3uwBgaUE/ncjfIpgBjphZH5oDfYFRaFJOKfdd9n+HYKPhS6mt2SAI8GRA6yhe7Og1BXrdo98aRZJBYj4xq4yKICdiURMSI2Rl/boXfTVxTV17HUMcS7wt37da27oNft0BcRPrM3dH4GR/CABZcGem1abSveEd1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JmLhG8luUQcx6ZlBzaQaD7jyafDncFKtWhT24rPN0EMxsHWUKHBbErYs/hwHiczR33SsnUNuLwsPVLVCu5a6HdqtOxfymiIZfxsyGomRnzNTwywuZs4aCO4Mw3+ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM0PR08MB3586; 20:8ezcf9YhmSwB92XY8f1guMJk1S8yAyyFHHF7utf9CpPG1oolgKWq9Nkmc6y0gxOMfDWjLN/+f9W/F7VqNOrmEq0VS0JdxVOTaXSKSCjXGa/uMwho6MKkcA2UZwqJ7drXkgoYtk6L0IwJb1hNI5h34QUw13yJXOHmU1XCGhmAN3U= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2018 08:18:58.6580 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b6302257-8500-4202-03ad-08d61f9ae23e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3586 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.6.96 Subject: [Qemu-devel] [PATCH v2 8/8] hyperv: rename kvm_hv_sint_route_set_sint 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: Vijayabhaskar Balakrishna , Eduardo Habkost , Konrad Rzeszutek Wilk , "Michael S. Tsirkin" , Venu Busireddy , Liran Alon , Paolo Bonzini , Si-Wei Liu , Igor Mammedov , Boris Ostrovsky , Karl Heubaum Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP There's nothing kvm-specific in it so follow the suite and replace "kvm_hv" prefix with "hyperv". Signed-off-by: Roman Kagan --- target/i386/hyperv.h | 2 +- hw/misc/hyperv_testdev.c | 2 +- target/i386/hyperv.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/i386/hyperv.h b/target/i386/hyperv.h index cdf44a7757..59e9f9a1e1 100644 --- a/target/i386/hyperv.h +++ b/target/i386/hyperv.h @@ -28,7 +28,7 @@ HvSintRoute *hyperv_sint_route_new(uint32_t vp_index, uint32_t sint, void hyperv_sint_route_ref(HvSintRoute *sint_route); void hyperv_sint_route_unref(HvSintRoute *sint_route); -int kvm_hv_sint_route_set_sint(HvSintRoute *sint_route); +int hyperv_sint_route_set_sint(HvSintRoute *sint_route); uint32_t hyperv_vp_index(X86CPU *cpu); X86CPU *hyperv_find_vcpu(uint32_t vp_index); diff --git a/hw/misc/hyperv_testdev.c b/hw/misc/hyperv_testdev.c index 0d0776eb3c..8654b13d76 100644 --- a/hw/misc/hyperv_testdev.c +++ b/hw/misc/hyperv_testdev.c @@ -90,7 +90,7 @@ static void sint_route_set_sint(HypervTestDev *dev, sint_route = sint_route_find(dev, vp_index, sint); - kvm_hv_sint_route_set_sint(sint_route->sint_route); + hyperv_sint_route_set_sint(sint_route->sint_route); } static void hv_test_dev_control(void *opaque, hwaddr addr, uint64_t data, diff --git a/target/i386/hyperv.c b/target/i386/hyperv.c index 4d8ef6f2da..fc537e7ca0 100644 --- a/target/i386/hyperv.c +++ b/target/i386/hyperv.c @@ -185,7 +185,7 @@ void hyperv_sint_route_unref(HvSintRoute *sint_route) g_free(sint_route); } -int kvm_hv_sint_route_set_sint(HvSintRoute *sint_route) +int hyperv_sint_route_set_sint(HvSintRoute *sint_route) { return event_notifier_set(&sint_route->sint_set_notifier); }