summaryrefslogtreecommitdiffstats
path: root/tests/bios-tables-test.c
diff options
context:
space:
mode:
authorPeter Xu2017-07-17 11:02:29 +0200
committerMichael S. Tsirkin2017-08-01 23:13:25 +0200
commit892721d91d9deb2affe4e61334b1dd1b43728f92 (patch)
tree0b7ec022f155058a582cbf97323c6f42805ffb58 /tests/bios-tables-test.c
parentvhost-user: fix legacy cross-endian configurations (diff)
downloadqemu-892721d91d9deb2affe4e61334b1dd1b43728f92.tar.gz
qemu-892721d91d9deb2affe4e61334b1dd1b43728f92.tar.xz
qemu-892721d91d9deb2affe4e61334b1dd1b43728f92.zip
intel_iommu: fix iova for pt
IOMMUTLBEntry.iova is returned incorrectly on one PT path (though mostly we cannot really trigger this path, even if we do, we are mostly disgarding this value, so it didn't break anything). Fix it by converting the VTD_PAGE_MASK into the correct definition VTD_PAGE_MASK_4K, then remove VTD_PAGE_MASK. Fixes: b93130 ("intel_iommu: cleanup vtd_{do_}iommu_translate()") Signed-off-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/bios-tables-test.c')
0 files changed, 0 insertions, 0 deletions