]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: add memory_region_is_mapped() API
authorIgor Mammedov <imammedo@redhat.com>
Mon, 2 Jun 2014 13:25:06 +0000 (15:25 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:47 +0000 (16:41 +0300)
commiteed2bacfd2519e45498b585a147f11b0fd01c3c7
tree8a78b44110e28a0ffc650258486fc4a990893609
parent10b7e74bf2de8587a8f9e15f216b87be43d6a7cf
memory: add memory_region_is_mapped() API

which allows to check if MemoryRegion is already mapped.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/exec/memory.h
memory.c