Skip to content

Commit f751820

Browse files
committed
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 <[email protected]> Fixes: ad72170 ("vfio iommu: Add migration capability to report supported features") Reviewed-by: Kirti Wankhede <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
1 parent 5c5866c commit f751820

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/uapi/linux/vfio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ struct vfio_iommu_type1_info_cap_iova_range {
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;

0 commit comments

Comments
 (0)