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

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/vfio.h+1−1
@@ -1030,7 +1030,7 @@ struct vfio_iommu_type1_info_cap_iova_range { · 1029 unmodified lines
1030 * size in bytes that can be used by user applications when getting the dirty1030 * size in bytes that can be used by user applications when getting the dirty
1031 * bitmap.1031 * bitmap.
1032 */1032 */
1033#define VFIO_IOMMU_TYPE1_INFO_CAP_MIGRATION 11033#define VFIO_IOMMU_TYPE1_INFO_CAP_MIGRATION 2
1034 1034
1035struct vfio_iommu_type1_info_cap_migration {1035struct vfio_iommu_type1_info_cap_migration {
1036 struct vfio_info_cap_header header;1036 struct vfio_info_cap_header header;