]> git.proxmox.com Git - mirror_qemu.git/commit - memory.c
memory: expose alignment used for allocating RAM as MemoryRegion API
authorIgor Mammedov <imammedo@redhat.com>
Fri, 31 Oct 2014 16:38:37 +0000 (16:38 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 23 Nov 2014 10:11:30 +0000 (12:11 +0200)
commita2b257d6212ade772473f86bf0637480b2578a7e
treeb4b86c7b8887920f8bff0b3e8ca498b574d64f00
parent92a37a04d6e034b73ea1ba4825ba4d5860f0a810
memory: expose alignment used for allocating RAM as MemoryRegion API

introduce memory_region_get_alignment() that returns
underlying memory block alignment or 0 if it's not
relevant/implemented for backend.

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>
exec.c
include/exec/exec-all.h
include/exec/memory.h
include/qemu/osdep.h
memory.c
target-s390x/kvm.c
util/oslib-posix.c
util/oslib-win32.c