From: Alex Williamson Date: Thu, 18 Jun 2020 19:07:13 +0000 (-0600) Subject: vfio/type1: Fix migration info capability ID X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f751820bc319a30d31a80fe511d88642aaefcdee;p=linux.git vfio/type1: Fix migration info capability ID ID 1 is already used by the IOVA range capability, use ID 2. Reported-by: Liu Yi L Fixes: ad721705d09c ("vfio iommu: Add migration capability to report supported features") Reviewed-by: Kirti Wankhede Signed-off-by: Alex Williamson --- diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h index eca6692667a3b..9204705023291 100644 --- a/include/uapi/linux/vfio.h +++ b/include/uapi/linux/vfio.h @@ -1030,7 +1030,7 @@ struct vfio_iommu_type1_info_cap_iova_range { * size in bytes that can be used by user applications when getting the dirty * bitmap. */ -#define VFIO_IOMMU_TYPE1_INFO_CAP_MIGRATION 1 +#define VFIO_IOMMU_TYPE1_INFO_CAP_MIGRATION 2 struct vfio_iommu_type1_info_cap_migration { struct vfio_info_cap_header header;