]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: allow memory_region_find() to run on non-root memory regions
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 May 2013 13:48:28 +0000 (15:48 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 24 May 2013 16:42:33 +0000 (18:42 +0200)
commit73034e9e087aa51b85cf86b6c81ef92f7e1e9d09
tree05d82eab720095a02ed49c3bca6af5cf1b509c61
parent68f3f65b09a1ce8c82fac17911ffc3bb6031ebe4
memory: allow memory_region_find() to run on non-root memory regions

memory_region_find() is similar to registering a MemoryListener and
checking for the MemoryRegionSections that come from a particular
region.  There is no reason for this to be limited to a root memory
region.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/exec/memory.h
memory.c