summaryrefslogtreecommitdiff
path: root/hw/virtio
diff options
context:
space:
mode:
authorLeonardo Garcia <lagarcia@br.ibm.com>2021-11-23 08:48:31 -0300
committerLaurent Vivier <laurent@vivier.eu>2021-12-17 10:46:08 +0100
commitf71d31fa811f15d40ab076b350c2067d30ac22b1 (patch)
tree6951822adba54afe390f0cf5665a23c0d0a06242 /hw/virtio
parent74fb2f4f4c47c966ab54687392e6561b4de4bb8a (diff)
downloadqemu-f71d31fa811f15d40ab076b350c2067d30ac22b1.zip
hw/virtio/vhost: Fix typo in comment.
Signed-off-by: Leonardo Garcia <lagarcia@br.ibm.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <a10a0ddab65b474ebea1e1141abe0f4aa463909b.1637668012.git.lagarcia@br.ibm.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/virtio')
-rw-r--r--hw/virtio/vhost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index 437347ad01..20913cf8fb 100644
--- a/hw/virtio/vhost.c
+++ b/hw/virtio/vhost.c
@@ -313,7 +313,7 @@ static int vhost_dev_has_iommu(struct vhost_dev *dev)
* For vhost, VIRTIO_F_IOMMU_PLATFORM means the backend support
* incremental memory mapping API via IOTLB API. For platform that
* does not have IOMMU, there's no need to enable this feature
- * which may cause unnecessary IOTLB miss/update trnasactions.
+ * which may cause unnecessary IOTLB miss/update transactions.
*/
return virtio_bus_device_iommu_enabled(vdev) &&
virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM);