]> git.proxmox.com Git - mirror_qemu.git/commit - include/exec/memory.h
memory: add address_space_access_valid
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 11 Apr 2013 13:40:59 +0000 (15:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 May 2013 14:27:16 +0000 (16:27 +0200)
commit51644ab70ba125cb9545702d64890743d75b444b
tree420c1b45d6556c81b04d532ca4a05202c069e341
parentc353e4cc08a2fce7c505dd0d04512ef3947adff8
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>
dma-helpers.c
exec.c
include/exec/memory.h
include/sysemu/dma.h