Re: [PATCH] x86/vmware: Add TDX hypercall support

2023-12-07 Thread Alexey Makhalov
On 12/7/23 9:12 AM, Dave Hansen wrote: On 12/5/23 23:15, Alexey Makhalov wrote: +#ifdef CONFIG_INTEL_TDX_GUEST +/* Export tdx hypercall and allow it only for VMware guests. */ +void vmware_tdx_hypercall_args(struct tdx_module_args *args) +{ + if (hypervisor_is_type(X86_HYPER_VMWARE)) +

Re: [PATCH] x86/vmware: Add TDX hypercall support

2023-12-07 Thread Dave Hansen
On 12/5/23 23:15, Alexey Makhalov wrote: > +#ifdef CONFIG_INTEL_TDX_GUEST > +/* Export tdx hypercall and allow it only for VMware guests. */ > +void vmware_tdx_hypercall_args(struct tdx_module_args *args) > +{ > + if (hypervisor_is_type(X86_HYPER_VMWARE)) > + __tdx_hypercall(args);