]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-iommu: Add an assert check in translate routine
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Mon, 13 Jun 2022 06:10:10 +0000 (14:10 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 16 Jun 2022 16:54:58 +0000 (12:54 -0400)
commit23b5f0ff6d923d3bca11cf44eed3daf7a0a836a8
treedbbe2c773253fdd8524fa9c4b5126be99ee6f341
parent08f2030a2e46f1e93d186b3a683e5caef1df562b
virtio-iommu: Add an assert check in translate routine

With address space switch supported, dma access translation only
happen after endpoint is attached to a non-bypass domain.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Message-Id: <20220613061010.2674054-4-zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-iommu.c