Commit 4cfce484c5d7e514c23689f3194055b5463d6054
1 parent
fbe1b595
Fix kqemu build failure.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing
1 changed file
with
1 additions
and
1 deletions
vl.c
@@ -5735,7 +5735,7 @@ int main(int argc, char **argv, char **envp) | @@ -5735,7 +5735,7 @@ int main(int argc, char **argv, char **envp) | ||
5735 | /* FIXME: This is a nasty hack because kqemu can't cope with dynamic | 5735 | /* FIXME: This is a nasty hack because kqemu can't cope with dynamic |
5736 | guest ram allocation. It needs to go away. */ | 5736 | guest ram allocation. It needs to go away. */ |
5737 | if (kqemu_allowed) { | 5737 | if (kqemu_allowed) { |
5738 | - kqemu_phys_ram_size = ram_size + VGA_RAM_SIZE + 4 * 1024 * 1024; | 5738 | + kqemu_phys_ram_size = ram_size + 8 * 1024 * 1024 + 4 * 1024 * 1024; |
5739 | kqemu_phys_ram_base = qemu_vmalloc(kqemu_phys_ram_size); | 5739 | kqemu_phys_ram_base = qemu_vmalloc(kqemu_phys_ram_size); |
5740 | if (!kqemu_phys_ram_base) { | 5740 | if (!kqemu_phys_ram_base) { |
5741 | fprintf(stderr, "Could not allocate physical memory\n"); | 5741 | fprintf(stderr, "Could not allocate physical memory\n"); |