Re: [RFC PATCH v2 28/44] i386/tdx: Force x2apic mode and routing for TDs

2021-08-26 Thread Gerd Hoffmann
On Wed, Jul 07, 2021 at 05:54:58PM -0700, isaku.yamah...@gmail.com wrote: > From: Sean Christopherson > > TDX requires x2apic and "resets" vCPUs to have x2apic enabled. Model > this in QEMU and unconditionally enable x2apic interrupt routing. We have a cpu flag for that. IMHO you should verify

[RFC PATCH v2 28/44] i386/tdx: Force x2apic mode and routing for TDs

2021-07-07 Thread isaku . yamahata
From: Sean Christopherson TDX requires x2apic and "resets" vCPUs to have x2apic enabled. Model this in QEMU and unconditionally enable x2apic interrupt routing. This fixes issues where interrupts from IRQFD would not get forwarded to the guest due to KVM silently dropping the invalid routing en