Re: [RFC PATCH v4 28/36] i386/tdx: Disable PIC for TDX VMs

2022-05-24 Thread Gerd Hoffmann
On Thu, May 12, 2022 at 11:17:55AM +0800, Xiaoyao Li wrote: > Legacy PIC (8259) cannot be supported for TDX VMs since TDX module > doesn't allow directly interrupt injection. Using posted interrupts > for the PIC is not a viable option as the guest BIOS/kernel will not > do EOI for PIC IRQs, i.e.

[RFC PATCH v4 28/36] i386/tdx: Disable PIC for TDX VMs

2022-05-11 Thread Xiaoyao Li
Legacy PIC (8259) cannot be supported for TDX VMs since TDX module doesn't allow directly interrupt injection. Using posted interrupts for the PIC is not a viable option as the guest BIOS/kernel will not do EOI for PIC IRQs, i.e. will leave the vIRR bit set. Hence disable PIC for TDX VMs and erro