Re: [Qemu-devel] [PATCH 11/40] memory: add address_space_valid

2013-05-13 Thread Paolo Bonzini
Il 07/05/2013 19:40, Peter Maydell ha scritto: > On 7 May 2013 15:16, Paolo Bonzini wrote: >> Checking whether an address space is possible in the old-style >> IOMMU implementation, but there is no equivalent in the memory API. > > This sentence appears to be missing a clause ("whether > an addre

Re: [Qemu-devel] [PATCH 11/40] memory: add address_space_valid

2013-05-07 Thread Peter Maydell
On 7 May 2013 15:16, Paolo Bonzini wrote: > Checking whether an address space is possible in the old-style > IOMMU implementation, but there is no equivalent in the memory API. This sentence appears to be missing a clause ("whether an address space is valid" ?) > Implement it with a lookup of th

[Qemu-devel] [PATCH 11/40] memory: add address_space_valid

2013-05-07 Thread Paolo Bonzini
Checking whether an address space is possible in the old-style IOMMU implementation, but there is no equivalent in the memory API. Implement it with a lookup of the dispatch tree. Signed-off-by: Paolo Bonzini --- dma-helpers.c |5 + exec.c| 24 ++