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

Naman Jain
2025-11-06T17:02:11Z

On 11/6/2025 8:19 PM, Peter Zijlstra wrote:
> 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);

Thanks Peter. I can use that in the next version.

Regards,
Naman