[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dc295c30-a695-4dde-b1ab-0871fd576f4e@redhat.com>
Date: Thu, 17 Jul 2025 17:33:09 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: "Edgecombe, Rick P" <rick.p.edgecombe@...el.com>,
"Li, Xiaoyao" <xiaoyao.li@...el.com>,
"Annapurve, Vishal" <vannapurve@...gle.com>
Cc: "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
"seanjc@...gle.com" <seanjc@...gle.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] KVM: TDX: Don't report base TDVMCALLs
On 7/17/25 17:24, Edgecombe, Rick P wrote:
> On Thu, 2025-07-17 at 05:25 -0700, Vishal Annapurve wrote:
>> On Wed, Jul 16, 2025 at 7:28 PM Xiaoyao Li <xiaoyao.li@...el.com> wrote:
>>> diff --git a/arch/x86/kvm/vmx/tdx.c b/arch/x86/kvm/vmx/tdx.c
>>> index f31ccdeb905b..ea1261ca805f 100644
>>> --- a/arch/x86/kvm/vmx/tdx.c
>>> +++ b/arch/x86/kvm/vmx/tdx.c
>>> @@ -173,7 +173,6 @@ static void td_init_cpuid_entry2(struct kvm_cpuid_entry2 *entry, unsigned char i
>>> tdx_clear_unsupported_cpuid(entry);
>>> }
>>>
>>> -#define TDVMCALLINFO_GET_QUOTE BIT(0)
>>> #define TDVMCALLINFO_SETUP_EVENT_NOTIFY_INTERRUPT BIT(1)
>>
>> I am struggling to find the patch that adds support for
>> TDVMCALLINFO_SETUP_EVENT_NOTIFY_INTERRUPT. Can you help point out the
>> series that adds this support?
>
> This was the last version of the series posted:
> https://lore.kernel.org/kvm/20250619180159.187358-1-pbonzini@redhat.com/#t
Yep, I didn't send the patches for SetupEventNotifyInterrupt to the KVM
mailing list.
I hadn't even noticed until now that I hadn't sent them because, when I
came back from vacation, I found the matching QEMU patches in my inbox.
So when git reported them to be in the next pull request I didn't think
of double checking. Of course the blame is mine---thanks Xiaoyao for
writing the QEMU side.
They are:
- commit 28224ef02b56fceee2c161fe2a49a0bb197e44f5
KVM: TDX: Report supported optional TDVMCALLs in TDX capabilities
- commit 4580dbef5ce0f95a4bd8ac2d007bc4fbf1539332
KVM: TDX: Exit to userspace for SetupEventNotifyInterrupt
Sorry about that.
Paolo
Powered by blists - more mailing lists