summaryrefslogtreecommitdiffstats
path: root/include/glib-compat.h
diff options
context:
space:
mode:
authorZhenzhong Duan2022-06-13 08:10:08 +0200
committerMichael S. Tsirkin2022-06-16 18:54:58 +0200
commit90519b90539b16258d1d52b908b199f44877dc18 (patch)
tree2b362751aa48cad7fcbbe1307b06162824f1f0ee /include/glib-compat.h
parentvirtio/vhost-user: Fix wrong vhost notifier GPtrArray size (diff)
downloadqemu-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