Re: [PATCH 24/25] KVM: x86: Filter directly configurable TDX CPUID bits

Tony Lindgren
2024-09-03T07:51:24Z

On Mon, Aug 19, 2024 at 01:02:41PM +0800, Xu Yilun wrote:
> On Mon, Aug 12, 2024 at 03:48:19PM -0700, Rick Edgecombe wrote:
> > --- a/arch/x86/kvm/vmx/tdx.c
> > +++ b/arch/x86/kvm/vmx/tdx.c
> > @@ -1086,8 +1086,9 @@ static int tdx_td_vcpu_init(struct kvm_vcpu *vcpu, u64 vcpu_rcx)
> > return ret;
> > }
> >
> > -static int __maybe_unused tdx_get_kvm_supported_cpuid(struct kvm_cpuid2 **cpuid)
> > +static int tdx_get_kvm_supported_cpuid(struct kvm_cpuid2 **cpuid)
>
> This func is already used in patch #21, put the change in that patch.
>
> > {
> > +
>
> remove the blank line.
>
> > int r;

Yes looks like that got removed in patch 25/25.

Tony