aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2022-01-05 12:19:42 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-01-07 19:30:13 -0500
commit5178d78f4b61cad647d628f52922970cdfe119b6 (patch)
tree591978ca9b4b6a7176764f968ffa4cdff0304f31 /tests
parent60f1f77cabe42995fe8dff2bf8e874846339b5c0 (diff)
downloadqemu-5178d78f4b61cad647d628f52922970cdfe119b6.zip
qemu-5178d78f4b61cad647d628f52922970cdfe119b6.tar.gz
qemu-5178d78f4b61cad647d628f52922970cdfe119b6.tar.bz2
intel-iommu: correctly check passthrough during translation
When scalable mode is enabled, the passthrough more is not determined by the context entry but PASID entry, so switch to use the logic of vtd_dev_pt_enabled() to determine the passthrough mode in vtd_do_iommu_translate(). Signed-off-by: Jason Wang <jasowang@redhat.com> Message-Id: <20220105041945.13459-2-jasowang@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions