The old-style IOMMU lets you check whether an access is valid in a
given DMAContext. There is no equivalent for AddressSpace in the
memory API, implement it with a lookup of the dispatch tree.
Reviewed-by: Richard Henderson
Signed-off-by: Paolo Bonzini
---
dma-helpers.c |5 +
e
The old-style IOMMU lets you check whether an access is valid in a
given DMAContext. There is no equivalent for AddressSpace in the
memory API, but we can implement it easily.
Signed-off-by: Paolo Bonzini
---
dma-helpers.c | 5 +
exec.c| 21 +
in