diff options
author | Jason Wang | 2022-01-05 05:19:42 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2022-01-08 01:30:13 +0100 |
commit | 5178d78f4b61cad647d628f52922970cdfe119b6 (patch) | |
tree | 591978ca9b4b6a7176764f968ffa4cdff0304f31 /roms/config.vga-qxl | |
parent | virtio-mem: Set "unplugged-inaccessible=auto" for the 7.0 machine on x86 (diff) | |
download | qemu-5178d78f4b61cad647d628f52922970cdfe119b6.tar.gz qemu-5178d78f4b61cad647d628f52922970cdfe119b6.tar.xz qemu-5178d78f4b61cad647d628f52922970cdfe119b6.zip |
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 'roms/config.vga-qxl')
0 files changed, 0 insertions, 0 deletions