qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 4cfce48] Fix kqemu build failure.


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 4cfce48] Fix kqemu build failure.
Date: Wed, 13 May 2009 17:10:20 -0000

From: Paul Brook <address@hidden>

Signed-off-by: Paul Brook <address@hidden>

diff --git a/vl.c b/vl.c
index bb6f7d6..b43cdd1 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");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]