qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH V9 mlx5-next 11/15] vfio: Remove migration protocol v1 documentation
       [not found] ` <20220224142024.147653-12-yishaih@nvidia.com>
@ 2022-03-02 10:09   ` Cornelia Huck
  0 siblings, 0 replies; only message in thread
From: Cornelia Huck @ 2022-03-02 10:09 UTC (permalink / raw)
  To: Yishai Hadas, alex.williamson, bhelgaas, jgg, saeedm
  Cc: mgurtovoy, kevin.tian, yishaih, ashok.raj, kvm, linux-pci,
	qemu-devel, shameerali.kolothum.thodi, kwankhede, netdev, kuba,
	leonro, maorg

On Thu, Feb 24 2022, Yishai Hadas <yishaih@nvidia.com> wrote:

> From: Jason Gunthorpe <jgg@nvidia.com>
>
> v1 was never implemented and is replaced by v2.
>
> The old uAPI documentation is removed from the header file.
>
> The old uAPI definitions are still kept in the header file to ease
> transition for userspace copying these headers. They will be fully
> removed down the road.
>
> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
> Tested-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
> Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
> ---
>  include/uapi/linux/vfio.h | 200 +-------------------------------------
>  1 file changed, 2 insertions(+), 198 deletions(-)
>
> diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
> index 26a66f68371d..fea86061b44e 100644
> --- a/include/uapi/linux/vfio.h
> +++ b/include/uapi/linux/vfio.h
> @@ -323,7 +323,7 @@ struct vfio_region_info_cap_type {
>  #define VFIO_REGION_TYPE_PCI_VENDOR_MASK	(0xffff)
>  #define VFIO_REGION_TYPE_GFX                    (1)
>  #define VFIO_REGION_TYPE_CCW			(2)
> -#define VFIO_REGION_TYPE_MIGRATION              (3)
> +#define VFIO_REGION_TYPE_MIGRATION_DEPRECATED   (3)

This means that QEMU will need to do a (simple) rename when it updates
the headers, but that seems easy enough. (cc: to give a heads up.)

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-02 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20220224142024.147653-1-yishaih@nvidia.com>
     [not found] ` <20220224142024.147653-12-yishaih@nvidia.com>
2022-03-02 10:09   ` [PATCH V9 mlx5-next 11/15] vfio: Remove migration protocol v1 documentation Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).