Re: [PATCH v1 2/2] vfio/pci: Emulate PASID/PRI capability for VFs

Raj, Ashok
2020-04-13T03:32:05Z

Hi Alex

Going through the PCIe Spec, there seems a lot of such capabilities
that are different between PF and VF. Some that make sense
and some don't.

On Sun, Apr 12, 2020 at 08:10:43PM -0700, Raj, Ashok wrote:
>
> >
> > I agree though, I don't know why the SIG would preclude implementing
> > per VF control of these features. Thanks,
> >

For e.g.

VF doesn't have I/O and Mem space enables, but has BME
Interrupt Status
Correctable Error Reporting
Almost all of Device Control Register.

So it seems like there is a ton of them we have to deal with today for
VF's. How do we manage to emulate them without any support for them
in VF's?

>
> Cheers,
> Ashok