diff options
author | Peter Xu <peterx@redhat.com> | 2017-06-09 21:53:28 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-06-16 18:44:55 +0300 |
commit | b9313021f3115e4052966f1975022e4db2df665b (patch) | |
tree | feee795a9ee0a10bea56dd789978b3df7b1204d3 /hw/tpm | |
parent | 7feb51b7093145e3ee16b0194099d77e00a18ddb (diff) |
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 'hw/tpm')
0 files changed, 0 insertions, 0 deletions