aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-13 18:08:17 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-13 18:08:17 +0100
commit4cfce484c5d7e514c23689f3194055b5463d6054 (patch)
tree3b96ec3143fd490cf5fe923c6503f6ac7ca02ae2
parentfbe1b5953d061c77c07b91e4eb555c92195308d0 (diff)
Fix kqemu build failure.
Signed-off-by: Paul Brook <paul@codesourcery.com>
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index bb6f7d619d..b43cdd1642 100644
--- a/vl.c
+++ b/vl.c
@@ -5735,7 +5735,7 @@ int main(int argc, char **argv, char **envp)
/* FIXME: This is a nasty hack because kqemu can't cope with dynamic
guest ram allocation. It needs to go away. */
if (kqemu_allowed) {
- kqemu_phys_ram_size = ram_size + VGA_RAM_SIZE + 4 * 1024 * 1024;
+ kqemu_phys_ram_size = ram_size + 8 * 1024 * 1024 + 4 * 1024 * 1024;
kqemu_phys_ram_base = qemu_vmalloc(kqemu_phys_ram_size);
if (!kqemu_phys_ram_base) {
fprintf(stderr, "Could not allocate physical memory\n");