diff options
author | Jason Wang <jasowang@redhat.com> | 2022-01-05 12:19:42 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-01-07 19:30:13 -0500 |
commit | 5178d78f4b61cad647d628f52922970cdfe119b6 (patch) | |
tree | 591978ca9b4b6a7176764f968ffa4cdff0304f31 /tests | |
parent | 60f1f77cabe42995fe8dff2bf8e874846339b5c0 (diff) | |
download | qemu-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