diff options
author | Zhenzhong Duan | 2022-06-13 08:10:08 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-06-16 18:54:58 +0200 |
commit | 90519b90539b16258d1d52b908b199f44877dc18 (patch) | |
tree | 2b362751aa48cad7fcbbe1307b06162824f1f0ee /include/glib-compat.h | |
parent | virtio/vhost-user: Fix wrong vhost notifier GPtrArray size (diff) | |
download | qemu-90519b90539b16258d1d52b908b199f44877dc18.tar.gz qemu-90519b90539b16258d1d52b908b199f44877dc18.tar.xz qemu-90519b90539b16258d1d52b908b199f44877dc18.zip |
virtio-iommu: Add bypass mode support to assigned device
Currently assigned devices can not work in virtio-iommu bypass mode.
Guest driver fails to probe the device due to DMA failure. And the
reason is because of lacking GPA -> HPA mappings when VM is created.
Add a root container memory region to hold both bypass memory region
and iommu memory region, so the switch between them is supported
just like the implementation in virtual VT-d.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Message-Id: <20220613061010.2674054-2-zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/glib-compat.h')
0 files changed, 0 insertions, 0 deletions