Re: [PATCH v6 11/20] kvm/x86: Emulate MSR IA32_CORE_CAPABILITY

From: Thomas Gleixner
Date: Fri Apr 05 2019 - 08:00:30 EST


On Wed, 3 Apr 2019, Fenghua Yu wrote:
> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
>
> +u64 kvm_get_core_capability(void)
> +{
> + return 0;
> +}
> +EXPORT_SYMBOL_GPL(kvm_get_core_capability);

Why is this global and exported? The only users are in this very file.

Thanks,

tglx