commit | 51644ab70ba125cb9545702d64890743d75b444b | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Apr 11 15:40:59 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed May 29 16:27:16 2013 +0200 |
tree | 420c1b45d6556c81b04d532ca4a05202c069e341 | |
parent | c353e4cc08a2fce7c505dd0d04512ef3947adff8 [diff] |
memory: add address_space_access_valid 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 <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>