diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-11 21:50:17 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-11 21:50:17 +0000 |
commit | 6f7af85d98417936f4d5e324f1a6a2ba60fe2528 (patch) | |
tree | 6cb53c042bdacf8ad9a8b3ab49ba0fd7717720d5 /osdep.c | |
parent | 15ed71bae29d61e4c32a9fd1f3b0b47f3d5b2e9b (diff) |
Allocate guest memory on host page boundaries (Hollis Blanchard)
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5702 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.c')
-rw-r--r-- | osdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,7 @@ void *qemu_vmalloc(size_t size) #ifdef _BSD return valloc(size); #else - return memalign(4096, size); + return memalign(qemu_getpagesize(), size); #endif } |