memory: introduce memory_region_present
commit3ce10901ca8da9142dcdcde198fda1a4c290934c
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Jul 2013 11:40:48 +0000 (2 13:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Jul 2013 15:42:45 +0000 (4 17:42 +0200)
tree1d2e886c106132afbdb9901db62062fbc525a5d7
parent46637be269aaaceb9867ffdf176e906401138fff
memory: introduce memory_region_present

This new API will avoid having too many memory_region_ref/unref
in paths that currently use memory_region_find.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/acpi/piix4.c
hw/isa/lpc_ich9.c
include/exec/memory.h
memory.c