mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
memory: add owner argument to initialization functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
5767e4e198
commit
2c9b15cab1
319 changed files with 787 additions and 759 deletions
|
@ -1560,7 +1560,7 @@ off_t kvmppc_alloc_rma(const char *name, MemoryRegion *sysmem)
|
|||
};
|
||||
|
||||
rma_region = g_new(MemoryRegion, 1);
|
||||
memory_region_init_ram_ptr(rma_region, name, size, rma);
|
||||
memory_region_init_ram_ptr(rma_region, NULL, name, size, rma);
|
||||
vmstate_register_ram_global(rma_region);
|
||||
memory_region_add_subregion(sysmem, 0, rma_region);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue