Commit f751820b authored by Alex Williamson's avatar Alex Williamson

vfio/type1: Fix migration info capability ID

ID 1 is already used by the IOVA range capability, use ID 2.
Reported-by: default avatarLiu Yi L <yi.l.liu@intel.com>
Fixes: ad721705 ("vfio iommu: Add migration capability to report supported features")
Reviewed-by: default avatarKirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 5c5866c5
...@@ -1030,7 +1030,7 @@ struct vfio_iommu_type1_info_cap_iova_range { ...@@ -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 * size in bytes that can be used by user applications when getting the dirty
* bitmap. * 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_iommu_type1_info_cap_migration {
struct vfio_info_cap_header header; struct vfio_info_cap_header header;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment