summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Xu2017-06-09 15:53:28 +0200
committerMichael S. Tsirkin2017-06-16 17:44:55 +0200
commitb9313021f3115e4052966f1975022e4db2df665b (patch)
treefeee795a9ee0a10bea56dd789978b3df7b1204d3 /scripts
parentintel_iommu: switching the rest DPRINTF to trace (diff)
downloadqemu-b9313021f3115e4052966f1975022e4db2df665b.tar.gz
qemu-b9313021f3115e4052966f1975022e4db2df665b.tar.xz
qemu-b9313021f3115e4052966f1975022e4db2df665b.zip
intel_iommu: cleanup vtd_{do_}iommu_translate()
First, let vtd_do_iommu_translate() return a status, so that we explicitly knows whether error occured. Meanwhile, we make sure that IOMMUTLBEntry is filled in in that. Then, cleanup vtd_iommu_translate a bit. So even with PT we'll get a log now. Also, remove useless assignments. 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 'scripts')
0 files changed, 0 insertions, 0 deletions