Re: [PATCH] KVM: x86: remove unnecessary exports

From: Like Xu
Date: Mon Dec 05 2022 - 06:13:36 EST


On 3/12/2022 2:37 am, Paolo Bonzini wrote:
--- a/arch/x86/kvm/hyperv.c
+++ b/arch/x86/kvm/hyperv.c
@@ -898,7 +898,6 @@ 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);

The kvm_hv_verify_vp_assist() is used in svm object where kvm_hv_assist_page_enabled() is called,
so the deletion of this line now brings a link failure. The first version of the patch set did not catch
such a simple error, and I assume another discussion thread's in-flight changes were merged into.

We may add this line back to easily fix this merge conflict.