mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
memory: Rename memory_region_init_ram() to memory_region_init_ram_nomigrate()
Rename memory_region_init_ram() to memory_region_init_ram_nomigrate(). This leaves the way clear for us to provide a memory_region_init_ram() which does handle migration. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1499438577-7674-4-git-send-email-peter.maydell@linaro.org
This commit is contained in:
parent
a5c0234bb2
commit
1cfe48c1ce
72 changed files with 121 additions and 120 deletions
|
@ -177,7 +177,7 @@ mips_mipssim_init(MachineState *machine)
|
|||
/* Allocate RAM. */
|
||||
memory_region_allocate_system_memory(ram, NULL, "mips_mipssim.ram",
|
||||
ram_size);
|
||||
memory_region_init_ram(bios, NULL, "mips_mipssim.bios", BIOS_SIZE,
|
||||
memory_region_init_ram_nomigrate(bios, NULL, "mips_mipssim.bios", BIOS_SIZE,
|
||||
&error_fatal);
|
||||
vmstate_register_ram_global(bios);
|
||||
memory_region_set_readonly(bios, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue