Re: [PATCH v2] vfio-pci: Mask cap zero

2020-05-06 Thread Cornelia Huck
On Tue, 05 May 2020 16:27:01 -0600 Alex Williamson wrote: > The PCI Code and ID Assignment Specification changed capability ID 0 > from reserved to a NULL capability in the v1.1 revision. The NULL > capability is defined to include only the 16-bit capability header, > ie. only the ID and next po

[PATCH v2] vfio-pci: Mask cap zero

2020-05-05 Thread Alex Williamson
The PCI Code and ID Assignment Specification changed capability ID 0 from reserved to a NULL capability in the v1.1 revision. The NULL capability is defined to include only the 16-bit capability header, ie. only the ID and next pointer. Unfortunately vfio-pci creates a map of config space, where