[Qemu-devel] [PATCH 15/22] memory: add address_space_access_valid

2013-05-30 Thread Paolo Bonzini
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

[Qemu-devel] [PATCH 15/22] memory: add address_space_access_valid

2013-05-24 Thread Paolo Bonzini
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