diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2020-06-25 00:24:33 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-08-03 22:11:42 +0200 |
commit | 321bd212619a7269308696e4ddc446930ea73fad (patch) | |
tree | ef593d7e57259ba3c8004759bd8afca0791c640c /drivers/virtio/virtio_balloon.c | |
parent | Linux 5.8 (diff) | |
download | linux-321bd212619a7269308696e4ddc446930ea73fad.tar.xz linux-321bd212619a7269308696e4ddc446930ea73fad.zip |
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.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_balloon.c')
-rw-r--r-- | drivers/virtio/virtio_balloon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index 8be02f333b7a..54fd989f9353 100644 --- a/drivers/virtio/virtio_balloon.c +++ b/drivers/virtio/virtio_balloon.c @@ -1129,7 +1129,7 @@ static int virtballoon_validate(struct virtio_device *vdev) else if (!virtio_has_feature(vdev, VIRTIO_BALLOON_F_PAGE_POISON)) __virtio_clear_bit(vdev, VIRTIO_BALLOON_F_REPORTING); - __virtio_clear_bit(vdev, VIRTIO_F_IOMMU_PLATFORM); + __virtio_clear_bit(vdev, VIRTIO_F_ACCESS_PLATFORM); return 0; } |