Message ID | 20170621162424.10462-13-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 A8D3060329 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 21 Jun 2017 16:34:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99B4222638 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 21 Jun 2017 16:34:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E0AC2862E; Wed, 21 Jun 2017 16:34:09 +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 17D7622638 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 21 Jun 2017 16:34:09 +0000 (UTC) Received: from localhost ([::1]:55067 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 1dNia0-0005KA-3D for patchwork-qemu-devel@patchwork.kernel.org; Wed, 21 Jun 2017 12:34:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rkagan@virtuozzo.com>) id 1dNiS8-00075t-LU for qemu-devel@nongnu.org; Wed, 21 Jun 2017 12:26:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rkagan@virtuozzo.com>) id 1dNiS5-0004aO-VN for qemu-devel@nongnu.org; Wed, 21 Jun 2017 12:26:00 -0400 Received: from mail-eopbgr30105.outbound.protection.outlook.com ([40.107.3.105]:12521 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 1dNiS5-0004Z3-K7 for qemu-devel@nongnu.org; Wed, 21 Jun 2017 12:25:57 -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=ItWaCoQESNRRGkzzNV3yxZjQeqaU86EPrCjSdVPs7g4=; b=L2yTa+4jkCvS0c4JTuAZ1ks6Kxwea1ZatPftke0RbcCAsw4IXj/y2aIe4RBwJokEItJA0CDqv4g7/lkIwWpyf46F6W60mYhrvGNU4ygvzz78hJfANmHzpighHcXAp9/nTlej7hAOzXCRyZxiCpzfnbnY95QkwapKhAtvoTAS5NM= 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:50 +0000 From: Roman Kagan <rkagan@virtuozzo.com> To: qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>, Eduardo Habkost <ehabkost@redhat.com> Date: Wed, 21 Jun 2017 19:24:13 +0300 Message-Id: <20170621162424.10462-13-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 Content-Type: text/plain 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: b87e541e-79bf-4fd7-05b1-08d4b8c23110 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:HE1PR08MB0842; X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 3:YX1EE4Wu8snLm6m1GGO+xylX+t7loFWL+enRVWIs8Sb9H0i+EoQJN+tEYWDZVPe9B1g7J1BbEMiX/fv/1jGojAuYd9Us75O0ajKDJjlkA0E9AKjiYE5RKbf8Z4A27k7Nzr8gIFbCMRrZQkze3LWIa+SnCdeNmCMytSLHkR6t2R/H/wlihmJOZZ1VZvNY+pbz/4C0twmesHRr3GvdzBvri2CQstVVuDscrN6meYt7RYZmjiL09KMHmXypLLzb5LdWbqC5y5Qzg1zWx0mTeSVvIAN1/SFevjHS3Q2k8MLKMQSI1bgHyqGMePev2OE3CAlZ9YijLg+uxasW8Gwe3YUqaw==; 25:19h9ukWK3mjctfLxD30uzxNIqciit+5Gdwpg7C4FiN9XO4fMRoWZUdq4EFwJ1YigvMCI8sra1yTl38IQZg0LqkR8m5BNQ072pPenOqLpeMg1G101wTGLCHKqM20tfITiSmoZYmqlyx7Az7mSAsrkRcIpUTGBGVxUrX+UhCk+qxCy8lcbOm7q6I8hydhk6KiW+k+JNsmizHA5cs97hIgUU3U6eIHnkH+79uwaRvm7NmZ9KicOYMs0ud792Ni4WyC6a+qVhUKmVIx+dXNLKQ5mhlo5wJPPIKbVVnosn1as5Xb+QUjIu+mGfeHyPA2oRNjIXsYdlK8eDdWQDuMJzAwdUtwBkjTBVCFdO/q11IXIf+PVRaBZL1onkd9Q/uJxg2IebyEmUDGbQHRKuzPlzlc/Bgvz6guPOWBkbi7rftkblYRg9OYuCPCUtuiz3I+St1ap2Ucs4oyi0r0UGhr5BJquUWnslEL5cY48G2F0FBC0Q8Q= X-MS-TrafficTypeDiagnostic: HE1PR08MB0842: X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 31:zy3m9dZFLaWUllTduRiT4Ywlukwpd0PX22SmhP2S4Z8MQX+7Y4O66FpCdPtvdxAB4/PapPUc8hnNcStNHdF9TP+HbQ1SBUxAU/qzz/9s+uDPeaXM09ds5UZeFDbLh8BOgGcYoWJeVJMVjoAf5Wey0lrm2V8PYUiKB5X+CLomSEgvujcJBqMWKS2i1kZhd7tvYYXEiQX1GvdK/sPJnaqWUWrK2aKRigMmX7id59fXdd8=; 20:dOmZXJu9InyDxiwaWYKTzyGw/AhGw69Ilzk3RShD100p/BU3IVuAvQmDQeARCixWU2vTGtOZqkmtZL8vlEGXRDGaR+Jf8pea7nRot4zyI1L9lX5zqvyuUU0r0rgc+9TbieSkBlzSE1VpX4ZLVURBxatgY54Q3fdVUmCaQSAWHThm8rVHYaplDZe1rDmpOy7hkNzujyI21FJz9q1SiJoaf2twpsI+T+fsXfXuS11DlYEiFumTpSDHGgMlqAQdOtGF0027rUXrw5BUJ8C8Vx5MXCKrOVlJZ0XpM/QajfgReCI3UZy+f6N8dejhoqTnpo8/c8nAHxTR9020Rz2pPsHAC80LxwIeh+67+HflDoQbGlEa8kbbH4m953B21YvlY1muO92jlEZlA5jD/YIYqvQ5A+A8HFAstKRJG6v26ZbrwlE= X-Microsoft-Antispam-PRVS: <HE1PR08MB08426D733F90350648C1868BC9DA0@HE1PR08MB0842.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(17755550239193); 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:8UE/2qEoeNRcx4EnA8GVu+jGgTtHosKV4WTVrbMDEv?= =?us-ascii?Q?W9Th1ExvFIdtGTRXkTtThMsQ4c5IbBK4AAbJhqKRooChOrOExsCNTgSG/HgS?= =?us-ascii?Q?bwyz8KZ1cKo1ZeS2ggBxJcfLPoYlwZ661yb+Jk8CEZQl9WekEk1Q9SpvJhZ1?= =?us-ascii?Q?dQTmZYMeZeHIuT0rZ0OdRodXln/ZeO2MJ5wpLJjIHgCz/Obn6UZG1Jyq/7CW?= =?us-ascii?Q?mOBE6BYE6wOh2FZNdegKihWQfqajGC9D5XRk4Nn8KLRaXxlnjxTJdgmz3uXd?= =?us-ascii?Q?ohprdO7FTayDnfG5w8kiGbiHjFpOV26RlFHmftclE0k1p509NGsH5bWNnu2A?= =?us-ascii?Q?5RU1MX0MIzvsBPcA/9H3NpFFfCkmgz6oPR9gSE9uw4OGczEJPY5bO5J8kewx?= =?us-ascii?Q?7yd+LVYNHNPzqGjd1Spp5VCXURKrIKsJMD1da0CMBv0wpVcmN5fm/GZTYPUw?= =?us-ascii?Q?8Hy1VRRpgHJi1s48z1qP9WsBK9l7ufEX3veAPyXATSRfNu1GXA3AQnInZ+Ax?= =?us-ascii?Q?K9NnscWEIbPaYVAzwtyl6Up7uOlvoOuwm2xDO8Qy+kLDLUKfwsR1d2H+dLiT?= =?us-ascii?Q?3clDp3KWjLjepkmJXYgjDPbwkv2C4GlXPXu7cx50gA0OakNtDvKGHxKPhLGv?= =?us-ascii?Q?6f//j9dou9rLvIyCJIifzRrIvxAARQc5iEztZTXrB8C4zRjMUF59q2AyDd2W?= =?us-ascii?Q?KHLPKv+iwWLRBavwRTrt/6IwLCieME1qFG58l5zTdM9siAuzw8PavnqAXrex?= =?us-ascii?Q?mpp7mbMyRUC6hJfopaf6V6e5fUVHD2sFhUDgSV/lCKx1+6uQZx5Hnm7mcisI?= =?us-ascii?Q?OqYJE0hKT3l5wlY5GTClUyBhgMBSDDNiQhtul7sxDB91zYEgsEEEIl1vmmsS?= =?us-ascii?Q?K9uWjWJWzyVZDj38G37d9UyeRNBK3/IN079Lye9+uDH69FntQ9mTSIqGFoJZ?= =?us-ascii?Q?liJIL9SIlZ4ms2FBAljZY9rPk8LvKH1hUwieW2VxP54x/3Re7IPGyzmnc1en?= =?us-ascii?Q?xOhXM+V2sDP1JVHznttgmtUtUKIr80jSq4rBbN1V0YKsAEiA6JMDgTHlQmVe?= =?us-ascii?Q?0nfV9xqCYkP7s5omoY5Cm85USqI1/3sUKFJNE7hZazSCt43aHMXdEYH4/Y2X?= =?us-ascii?Q?fYvyYkU0C33k6A4BB0IZJWu/NtZWHXxm/lER7XHfJ2uQEsQX2IO+NTHsY4Su?= =?us-ascii?Q?dve3M10VnuOWM=3D?= X-Forefront-PRVS: 0345CFD558 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(6029001)(39400400002)(39410400002)(39840400002)(39450400003)(53936002)(50226002)(305945005)(81166006)(7736002)(6486002)(189998001)(8676002)(50986999)(76176999)(66066001)(6116002)(3846002)(2906002)(47776003)(25786009)(5660300001)(36756003)(1076002)(5003940100001)(6506006)(53416004)(42186005)(6666003)(4326008)(2950100002)(6512007)(38730400002)(86362001)(478600001)(33646002)(54906002)(50466002); 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:mp71e6XZ6Fq4kZ6pHArm343ji8e/fr1rQ/A68jRlh?= =?us-ascii?Q?F+NlkfmKVZzwdDza2JzeG8eIXz3IkSnEkTMfUv+ekbkUgVysC31Olcd0DQyf?= =?us-ascii?Q?OpdO09zmpbfgqb0Fmw4s2rHc4fQV37zUeAkusLuftTC3VDA48l36Wu34NglO?= =?us-ascii?Q?1yPq80E/Cci6iLb7PUhIoTzoE6qgj2PaGfu/a1bcNIiPqqPciUfoiQ7xvWsl?= =?us-ascii?Q?/i9dyvs9nUbmU8QmMWhZT8I35Y/MT27FOno04ZMEipF3NlAC/lKxnjBP60Mw?= =?us-ascii?Q?cMU0zCy7Uf06S1+OH0dEwP4oqWDNEcXEEtk667qGoJa6aY5jXQSEw97htzma?= =?us-ascii?Q?yZgziUYj7OkRh9rAcBib+fe2wHOoYYetorypZDoiMIgaMEn5ZBBojmnVxwwT?= =?us-ascii?Q?ODrbvhLjVQwpzzJwGvYEf1j4eA9HpMv7B3y1p3RHQ/bnT2KJj/TgWvCvdXiw?= =?us-ascii?Q?535WDK/J85al0sCYk48Qep6urYoKKWQps8kBxLsyNJ23Thi54/7UCKbpEqsm?= =?us-ascii?Q?aZ28AQGWvMwvUu72otJA1BCetw6BZl9Fi+X2nNDThyhYUDc55+S/HKD5IAcw?= =?us-ascii?Q?ZaZuQUnn0KnWGewdQSnf7hst7zIoLDVa60zJwntoP+Nk5ZEesKpPobt/qahD?= =?us-ascii?Q?+ATVjv3mPtYbvsiA3/OUV5AKZJzhaLKIs7/klPfBqzpWM33ycWdejAVywVaV?= =?us-ascii?Q?LXQC18j3UhNKh9EdWPr1XoDCChNK0hAiaSMaqhEZSspTnPPxRSNRuuj5kI58?= =?us-ascii?Q?8dBDibEfz0bSoOfr0yzF6aoO2SlCPUaROoI8dcKK2sZIwHYz92GJqv+t7hBk?= =?us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Dq5mIoBOteBuQzTfaPPtyDWgFE64ysAzlOBhefLd7x2pp8how37xnK2BL9CvAo6qwwZ8OwsTA8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 7:EMjuhMWKeHRYfnBAiBeRYNqzCNCufcHb8hIZTW6Rlc6ZrMnbNTNBi4WFJruLu3o5f7SyDAK33rH4fBI0QJnbTMqsNf9XcZQmoMzwdtXLNdUzuWXfqxJEitMny0wfOBylf2DXla3omX4wk8FtqVIgyZbZbuYOXjhhcvT+AI2+7PUbVIONP0KJqlRmXUgJIZX9LPET/nWX4V4XCMG+nmCeSBxxPG9pkJqDG3AjQENjAf4OFnQ4M5Ixse7SQZPe4Ljjwqd1GttuhHemhEu8i7tNyIG9uUu/NwxyIYn6oMxJS+tYTK/TtwXF6x+bLgnwQYF7Fkiaomk6DqX7WHVyKEGSMt+xDGRobDT74x9G0xeMobchmHnLbQiv5Cagt737XIlNugnxyce87PcE072iWQIt4sW2bdIjzC2Sk31AniAE1pqMCpSrTiaAIQy4gS0akojkAsPaNw3+wknXiqjApe3HUfq0wYOvQ+GbyN9ZIWHQeCbpgZ3FsAhxEapTkbfL10CT3RI4CKMmdXvw9yh8KJjmkXZZRusWAtaImMi52iTDXSSPbNSnm5wP06Nk6K2uy3tJeq/8ld/5+3OBDIm8bCy3NylFkD3kHNGoO/PR1zxjtG8vNbLaxy7dZDXKwyzAQiC7cXnbY1jUnvgSaFK1kGELOOdgLxmcUalU9I2GdZ1+zkU/xT2kWLLwxag97E5mjDwRVfKVMQH9K6X9xOsVQ+3GpUaw6eGqVkvXxMXDg8E4J7lIS6DCwsLbWKSDbIKIdaegLiFMyRuKzfXcs64BiMCnIYhvD4E0KgHSXgAJlyHw1EY= X-Microsoft-Exchange-Diagnostics: 1; HE1PR08MB0842; 20:9PIJGnBug9p1jmeak9noNuihsWMhElsaINJHicECR3Xog2NjHACDt6P20p2B7td6kLxw1DSAR8kyy2Bd1mgBM2LJAdhLuS9Gymr84XkIX9f1GNT+XlxHa+ezOLObhEQr13V+Hlodi2kzOvnnjo95fZ2t8ceM422BQODEK+rJvkE= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2017 16:25:50.8318 (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: 40.107.3.105 Subject: [Qemu-devel] [PATCH v2 12/23] hyperv: address HvSintRoute by X86CPU pointer 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: "Denis V . Lunev" <den@openvz.org>, Evgeny Yakovlev <eyakovlev@virtuozzo.com>, Igor Mammedov <imammedo@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 84ea228..b5831bf 100644 --- a/target/i386/hyperv.c +++ b/target/i386/hyperv.c @@ -18,7 +18,7 @@ struct HvSintRoute { uint32_t sint; - uint32_t vcpu_id; + X86CPU *cpu; int gsi; EventNotifier sint_set_notifier; EventNotifier sint_ack_notifier; @@ -97,6 +97,12 @@ HvSintRoute *kvm_hv_sint_route_create(uint32_t vp_index, uint32_t sint, HvSintRoute *sint_route; EventNotifier *ack_notifier; int r, gsi; + X86CPU *cpu; + + cpu = hyperv_find_vcpu(vp_index); + if (!cpu) { + return NULL; + } sint_route = g_new0(HvSintRoute, 1); r = event_notifier_init(&sint_route->sint_set_notifier, false); @@ -128,7 +134,7 @@ HvSintRoute *kvm_hv_sint_route_create(uint32_t vp_index, uint32_t sint, sint_route->gsi = gsi; sint_route->sint_ack_clb = sint_ack_clb; sint_route->sint_ack_clb_data = sint_ack_clb_data; - sint_route->vcpu_id = vp_index; + sint_route->cpu = cpu; sint_route->sint = sint; return sint_route;
Use X86CPU pointer to refer to the respective HvSintRoute instead of vp_index. This is more convenient and also paves the way for future enhancements. Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> --- v1 -> v2: - was patch 11 in v1 - pass vp_index to sint_route_create, and lookup X86CPU * inside target/i386/hyperv.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)