summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2020-06-18 22:07:13 +0300
committerAlex Williamson <alex.williamson@redhat.com>2020-06-18 22:07:13 +0300
commitf751820bc319a30d31a80fe511d88642aaefcdee (patch)
treea485bd04e8290deffb7d8261a2a49bb7dff2bd3d /include
parent5c5866c593bbd444d0339ede6a8fb5f14ff66d72 (diff)
downloadlinux-f751820bc319a30d31a80fe511d88642aaefcdee.tar.xz
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 <yi.l.liu@intel.com> Fixes: ad721705d09c ("vfio iommu: Add migration capability to report supported features") Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/vfio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index eca6692667a3..920470502329 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;