[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAPm50aKbzsMtgb3Cfux2nXOrOcHRZ5MP0ndKg9T0OQCqOsCa_w@mail.gmail.com>
Date: Tue, 6 Dec 2022 17:18:51 +0800
From: Hao Peng <flyingpenghao@...il.com>
To: pbonzini@...hat.com
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Sean Christopherson <seanjc@...gle.com>
Subject: [PATCH] KVM: x86: hyper-v: Restore function kvm_hv_assist_page_enabled
to export
From: Peng Hao <flyingpeng@...cent.com>
kvm_hv_assist_page_enabled() is called in export function
kvm_hv_get_assist_page().
Fixes: 0c2a04128f50 ("KVM: x86: remove unnecessary exports")
Signed-off-by: Peng Hao <flyingpeng@...cent.com>
---
arch/x86/kvm/hyperv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kvm/hyperv.c b/arch/x86/kvm/hyperv.c
index cc3e8c7d0850..2c7f2a26421e 100644
--- a/arch/x86/kvm/hyperv.c
+++ b/arch/x86/kvm/hyperv.c
@@ -898,6 +898,7 @@ bool kvm_hv_assist_page_enabled(struct kvm_vcpu *vcpu)
return false;
return vcpu->arch.pv_eoi.msr_val & KVM_MSR_ENABLED;
}
+EXPORT_SYMBOL_GPL(kvm_hv_assist_page_enabled);
int kvm_hv_get_assist_page(struct kvm_vcpu *vcpu)
{
--
2.27.0
Powered by blists - more mailing lists