diff options
| author | Peter Xu | 2017-06-09 15:53:28 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-06-16 17:44:55 +0200 |
| commit | b9313021f3115e4052966f1975022e4db2df665b (patch) | |
| tree | feee795a9ee0a10bea56dd789978b3df7b1204d3 /scripts/switch-timer-api | |
| parent | intel_iommu: switching the rest DPRINTF to trace (diff) | |
| download | qemu-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/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
