qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5702] Allocate guest memory on host page boundaries (Hollis Blanchard)
@ 2008-11-11 21:50 Anthony Liguori
  0 siblings, 0 replies; only message in thread
From: Anthony Liguori @ 2008-11-11 21:50 UTC (permalink / raw)
  To: qemu-devel

Revision: 5702
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5702
Author:   aliguori
Date:     2008-11-11 21:50:17 +0000 (Tue, 11 Nov 2008)

Log Message:
-----------
Allocate guest memory on host page boundaries (Hollis Blanchard)

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>

Modified Paths:
--------------
    trunk/osdep.c

Modified: trunk/osdep.c
===================================================================
--- trunk/osdep.c	2008-11-11 21:48:59 UTC (rev 5701)
+++ trunk/osdep.c	2008-11-11 21:50:17 UTC (rev 5702)
@@ -213,7 +213,7 @@
 #ifdef _BSD
     return valloc(size);
 #else
-    return memalign(4096, size);
+    return memalign(qemu_getpagesize(), size);
 #endif
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-11 21:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-11 21:50 [Qemu-devel] [5702] Allocate guest memory on host page boundaries (Hollis Blanchard) Anthony Liguori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).