History

virtio: VIRTIO_F_IOMMU_PLATFORM -> VIRTIO_F_ACCESS_PLATFORM

Rename the bit to match latest virtio spec. Add a compat macro to avoid breaking existing userspace.

Michael S. Tsirkin committed 6 years ago

Commit 321bd211 parent bcf876810 files · +18 −14Browse files

Showing the changes to include/linux (1 of 10 files). Show all

Unified · Split

include/linux/virtio_config.h+1−1
@@ -171,7 +171,7 @@ static inline bool virtio_has_iommu_quirk(const struct virtio_device *vdev) · 170 unmodified lines
171171 * Note the reverse polarity of the quirk feature (compared to most
172172 * other features), this is for compatibility with legacy systems.
173173 */
174− return !virtio_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM);
174+ return !virtio_has_feature(vdev, VIRTIO_F_ACCESS_PLATFORM);
175175 }
176176
177177 static inline