# Re: \[PATCH\] vfio/pci: Revert nvlink removal uAPI breakage

- From: Cornelia Huck \<cohuck@redhat.com\>
- Date: 2021-05-04 16:06:55 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2021/05/6357501
- Thread: https://ratatoskr.run/kvm/2021/05/6357488/t.md

```text
On Tue, 04 May 2021 09:52:02 -0600
Alex Williamson [ref] wrote:

> Revert the uAPI changes from the below commit with notice that these
> regions and capabilities are no longer provided.
> 
> Fixes: b392a1989170 ("vfio/pci: remove vfio_pci_nvlink2")
> Reported-by: Greg Kurz <redacted>
> Signed-off-by: Alex Williamson <redacted>
> ---
> 
> Greg (Kurz), please double check this resolves the issue.  Thanks!
> 
>  include/uapi/linux/vfio.h |   46 +++++++++++++++++++++++++++++++++++++++++----
>  1 file changed, 42 insertions(+), 4 deletions(-)

I had already hacked up a QEMU patch that moved the definitions into
local headers, but this one is less of a hassle. (Code compiles fine
after doing a headers update.)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>

```
