sim-card
/
qemu
Archived
10
0
Fork 0

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
This commit is contained in:
aliguori 2008-11-11 21:50:17 +00:00
parent 15ed71bae2
commit 6f7af85d98
1 changed files with 1 additions and 1 deletions

View File

@ -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
}