Re: [edk2-devel] [PATCH V4 08/10] OvmfPkg/IncompatiblePciDeviceSupportDxe: Ignore OptionRom in Td guest

2022-03-01 Thread Min Xu
On March 1, 2022 9:45 PM, Gerd Hoffmann wrote: > On Mon, Feb 28, 2022 at 04:16:29PM +0800, Min Xu wrote: > > RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 > > > > Host VMM may inject OptionRom which is untrusted in Td guest. So PCI > > OptionRom needs to be ignored if it is of Td guest.

Re: [edk2-devel] [PATCH V4 08/10] OvmfPkg/IncompatiblePciDeviceSupportDxe: Ignore OptionRom in Td guest

2022-03-01 Thread Gerd Hoffmann
On Mon, Feb 28, 2022 at 04:16:29PM +0800, Min Xu wrote: > RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 > > Host VMM may inject OptionRom which is untrusted in Td guest. So PCI > OptionRom needs to be ignored if it is of Td guest. According to > "Table 20. ACPI 2.0 & 3.0 QWORD Address S

[edk2-devel] [PATCH V4 08/10] OvmfPkg/IncompatiblePciDeviceSupportDxe: Ignore OptionRom in Td guest

2022-02-28 Thread Min Xu
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 Host VMM may inject OptionRom which is untrusted in Td guest. So PCI OptionRom needs to be ignored if it is of Td guest. According to "Table 20. ACPI 2.0 & 3.0 QWORD Address Space Descriptor Usage" PI spec 1.7, type-specific flags can be set