diff options
| author | Igor Mammedov | 2014-10-31 17:38:37 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2014-11-23 11:11:30 +0100 |
| commit | a2b257d6212ade772473f86bf0637480b2578a7e (patch) | |
| tree | b4b86c7b8887920f8bff0b3e8ca498b574d64f00 /util/oslib-win32.c | |
| parent | pc: limit DIMM address and size to page aligned values (diff) | |
| download | qemu-a2b257d6212ade772473f86bf0637480b2578a7e.tar.gz qemu-a2b257d6212ade772473f86bf0637480b2578a7e.tar.xz qemu-a2b257d6212ade772473f86bf0637480b2578a7e.zip | |
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>
Diffstat (limited to 'util/oslib-win32.c')
| -rw-r--r-- | util/oslib-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/oslib-win32.c b/util/oslib-win32.c index a3eab4acba..87cfbe0834 100644 --- a/util/oslib-win32.c +++ b/util/oslib-win32.c @@ -67,7 +67,7 @@ void *qemu_memalign(size_t alignment, size_t size) return qemu_oom_check(qemu_try_memalign(alignment, size)); } -void *qemu_anon_ram_alloc(size_t size) +void *qemu_anon_ram_alloc(size_t size, uint64_t *align) { void *ptr; |
