diff options
| author | Eugenio Pérez <eperezma@redhat.com> | 2021-10-14 16:12:34 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2021-10-20 04:37:55 -0400 |
| commit | c64038c93e171697058d96871f87a4438b613662 (patch) | |
| tree | 3ce77b2796d3ac5b607a0693141c4513fc228201 /hw/virtio/vhost-user.c | |
| parent | 220ffd949bf2c157665905f7744bdbf201333e1f (diff) | |
| download | focaccia-qemu-c64038c93e171697058d96871f87a4438b613662.tar.gz focaccia-qemu-c64038c93e171697058d96871f87a4438b613662.zip | |
vdpa: Skip protected ram IOMMU mappings
Following the logic of commit 56918a126ae ("memory: Add RAM_PROTECTED
flag to skip IOMMU mappings") with VFIO, skip memory sections
inaccessible via normal mechanisms, including DMA.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20211014141236.923287-2-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-user.c')
0 files changed, 0 insertions, 0 deletions