]> git.proxmox.com Git - qemu.git/blobdiff - hw/pc.c
pc: grab system_memory
[qemu.git] / hw / pc.c
diff --git a/hw/pc.c b/hw/pc.c
index a3e8539dc6887078c25884b2242310c9e821d2f8..369566a5c0ec71f70323bbf9d6128726d73c8b08 100644 (file)
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -957,7 +957,8 @@ void pc_cpus_init(const char *cpu_model)
     }
 }
 
-void pc_memory_init(const char *kernel_filename,
+void pc_memory_init(MemoryRegion *system_memory,
+                    const char *kernel_filename,
                     const char *kernel_cmdline,
                     const char *initrd_filename,
                     ram_addr_t below_4g_mem_size,