diff options
author | Eugenio Pérez | 2020-11-16 17:55:03 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2020-12-08 19:48:57 +0100 |
commit | 5039caf3c449c49e625d34e134463260cf8e00e0 (patch) | |
tree | 54734bddbe00a28bd9582228ff0ab9e893267d9a /hw/virtio/vhost-stub.c | |
parent | memory: Rename memory_region_notify_one to memory_region_notify_iommu_one (diff) | |
download | qemu-5039caf3c449c49e625d34e134463260cf8e00e0.tar.gz qemu-5039caf3c449c49e625d34e134463260cf8e00e0.tar.xz qemu-5039caf3c449c49e625d34e134463260cf8e00e0.zip |
memory: Add IOMMUTLBEvent
This way we can tell between regular IOMMUTLBEntry (entry of IOMMU
hardware) and notifications.
In the notifications, we set explicitly if it is a MAPs or an UNMAP,
instead of trusting in entry permissions to differentiate them.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20201116165506.31315-3-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/virtio/vhost-stub.c')
0 files changed, 0 insertions, 0 deletions