History

vfio/type1: Fix migration info capability ID

ID 1 is already used by the IOVA range capability, use ID 2.

Alex Williamson committed 6 years ago

Commit f7518201 parent 5c5866c1 file · +1 −1Browse files

Unified · Split

include/uapi/linux/vfio.h+1−1
@@ -1030,7 +1030,7 @@ struct vfio_iommu_type1_info_cap_iova_range { · 1029 unmodified lines
10301030 * size in bytes that can be used by user applications when getting the dirty
10311031 * bitmap.
10321032 */
1033−#define VFIO_IOMMU_TYPE1_INFO_CAP_MIGRATION 1
1033+#define VFIO_IOMMU_TYPE1_INFO_CAP_MIGRATION 2
10341034
10351035 struct vfio_iommu_type1_info_cap_migration {
10361036 struct vfio_info_cap_header header;