Re: [PATCH v10 1/2] Drivers: hv: Export some symbols for mshv_vtl

Peter Zijlstra
2025-11-06T14:49:37Z

On Wed, Oct 29, 2025 at 05:01:38AM +0000, Naman Jain wrote:
> MSHV_VTL driver is going to be introduced, which is supposed to
> provide interface for Virtual Machine Monitors (VMMs) to control
> Virtual Trust Level (VTL). Export the symbols needed
> to make it work (vmbus_isr, hv_context and hv_post_message).

Please consider using EXPORT_SYMBOL_FOR_MODULES()

> +EXPORT_SYMBOL_GPL(hv_context);
> +EXPORT_SYMBOL_GPL(hv_post_message);
> +EXPORT_SYMBOL_GPL(vmbus_isr);