summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2020-06-24 18:24:33 -0400
committerMichael S. Tsirkin <mst@redhat.com>2020-08-03 16:11:42 -0400
commit321bd212619a7269308696e4ddc446930ea73fad (patch)
treeef593d7e57259ba3c8004759bd8afca0791c640c /arch/um
parentbcf876870b95592b52519ed4aafcf9d95999bc9c (diff)
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 'arch/um')
-rw-r--r--arch/um/drivers/virtio_uml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/virtio_uml.c b/arch/um/drivers/virtio_uml.c
index 351aee52aca6..a6c4bb6c2c01 100644
--- a/arch/um/drivers/virtio_uml.c
+++ b/arch/um/drivers/virtio_uml.c
@@ -385,7 +385,7 @@ static irqreturn_t vu_req_interrupt(int irq, void *data)
}
break;
case VHOST_USER_SLAVE_IOTLB_MSG:
- /* not supported - VIRTIO_F_IOMMU_PLATFORM */
+ /* not supported - VIRTIO_F_ACCESS_PLATFORM */
case VHOST_USER_SLAVE_VRING_HOST_NOTIFIER_MSG:
/* not supported - VHOST_USER_PROTOCOL_F_HOST_NOTIFIER */
default: