Re: [PATCH 00/16] KVM: TDX: TDX interrupts

From: Sean Christopherson
Date: Mon Jan 06 2025 - 15:08:21 EST


On Mon, Jan 06, 2025, Xiaoyao Li wrote:
> On 12/9/2024 9:07 AM, Binbin Wu wrote:
> > Hi,
> >
> > This patch series introduces the support of interrupt handling for TDX
> > guests, including virtual interrupt injection and VM-Exits caused by
> > vectored events.
> >
>
> (I'm not sure if it is the correct place to raise the discussion on
> KVM_SET_LAPIC and KVM_SET_LAPIC for TDX. But it seems the most related
> series)
>
> Should KVM reject KVM_GET_LAPIC and KVM_SET_LAPIC for TDX?

Yes, IIRC that was what Paolo suggested in one of the many PUCK calls. Until
KVM supports intra-host migration for TDX guests, getting and setting APIC state
is nonsensical.