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

From: Cornelia Huck
Date: Tue May 04 2021 - 12:06:55 EST


On Tue, 04 May 2021 09:52:02 -0600
Alex Williamson <alex.williamson@xxxxxxxxxx> 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 <groug@xxxxxxxx>
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
> ---
>
> 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@xxxxxxxxxx>