From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26D9DC352A1 for ; Thu, 1 Dec 2022 02:04:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229892AbiLACEw (ORCPT ); Wed, 30 Nov 2022 21:04:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbiLACEt (ORCPT ); Wed, 30 Nov 2022 21:04:49 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06E38862E4 for ; Wed, 30 Nov 2022 18:04:49 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id a9so242162pld.7 for ; Wed, 30 Nov 2022 18:04:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1Bz9GPXhmGKQVTTK7beDiMaQdeCePM172DwfXfhBVIc=; b=madQ1brIPfOnUL8Z2SseC0tOUkjPHYMGZwrHkGvkNoIMGWnxiT/FtwrdwTRokaaIGU p4f3SaJAxFW3nOzKGTgJUeB90+9ZGNEay3vgd2s9fjqR6maI7fersqza8nbOixYA32AX Zp7+mzIRkkEL9KpuOjrn4Olx7zwi8e9MwgVgBVqkbRB7Ycm60z4xb6066nPtzZrgA13j /IrDWVQYQpKaUkdhsS1J8OmPkcHuUrgIZwwVCQryhV22ytFK9uU2BxWgVcbWOas7mjC3 ++Zt3HprseK6Hyw7xFEH5RVTMCJBBy+8wHu5ZbmtdlBWXS7D3MaQwBzmZOJvGGE1uvbY xk7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1Bz9GPXhmGKQVTTK7beDiMaQdeCePM172DwfXfhBVIc=; b=1G93KtiDhVuPbKg/1jCtUo7ZvB0f9j2nzF/0dg/7YJv97j1nBgFb5oW78KJKbgJsab wLI2D9V3quARydWCZ/UYIlM33cqWYvquDH4ECgFw10YVdq/TQdq1ObIfA41D/yqv6QP6 hRkrQ9fYV+MHy4z7OkABCFDeJ/ZnjeXRWVRLvmveWzMOOX2FvrjNiIKynspwA7VVoLpu wZJjmpHL4ghgPiHg6cYD2+0Yy02qWNRinj1AL25YI0LJWNQr16rp747UJr0HMmdHKMK+ q04z4yAWsJ/zXXlZBcnGHsLYo39MA2b3M9p8+vUoaI38Qr5ns33AYAavFVTSP6LpMlHO QNJg== X-Gm-Message-State: ANoB5plbOB0WnnC8nk9ZjlqO8K+jlBip5P5pLCgIaIA0SdvNwmgElETa xORZhptl3GojdStVr3sHBU1bl0tF7+conQ== X-Google-Smtp-Source: AA0mqf5fE3Vacmmpj6UHUhNJRTYay+k6GwahXj9M3z7LP2XRxWAFcec52559m/LXNjzl4mqcIx6smg== X-Received: by 2002:a17:902:d4c5:b0:189:5e92:d457 with SMTP id o5-20020a170902d4c500b001895e92d457mr31365274plg.166.1669860288447; Wed, 30 Nov 2022 18:04:48 -0800 (PST) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id 3-20020a631543000000b0044ed37dbca8sm1555354pgv.2.2022.11.30.18.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Nov 2022 18:04:48 -0800 (PST) Date: Thu, 1 Dec 2022 02:04:44 +0000 From: Sean Christopherson To: Like Xu Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 06/14] KVM: x86: Remove unnecessary export of kvm_inject_nmi() Message-ID: References: <20221114095606.39785-1-likexu@tencent.com> <20221114095606.39785-7-likexu@tencent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221114095606.39785-7-likexu@tencent.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 14, 2022, Like Xu wrote: > diff --git a/arch/x86/kvm/x86.h b/arch/x86/kvm/x86.h > index 69811b4f3eac..c5ff5b05af49 100644 > --- a/arch/x86/kvm/x86.h > +++ b/arch/x86/kvm/x86.h > @@ -308,6 +308,7 @@ int x86_emulate_instruction(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa, > int emulation_type, void *insn, int insn_len); > fastpath_t handle_fastpath_set_msr_irqoff(struct kvm_vcpu *vcpu); > void kvm_inject_page_fault(struct kvm_vcpu *vcpu, struct x86_exception *fault); > +void kvm_inject_nmi(struct kvm_vcpu *vcpu); Same as the previous patch, kvm_inject_nmi() is declared by kvm_host.h.