mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -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
|
@ -212,7 +212,7 @@ static void xen_ram_init(PCMachineState *pcms,
|
|||
*/
|
||||
block_len = (1ULL << 32) + pcms->above_4g_mem_size;
|
||||
}
|
||||
memory_region_init_ram(&ram_memory, NULL, "xen.ram", block_len,
|
||||
memory_region_init_ram_nomigrate(&ram_memory, NULL, "xen.ram", block_len,
|
||||
&error_fatal);
|
||||
*ram_memory_p = &ram_memory;
|
||||
vmstate_register_ram_global(&ram_memory);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue