m68k: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory
commit1d5bfde1b978b57156d851d140b99eac8b2adbe4
authorDirk Müller <dirk@dmllr.de>
Tue, 24 Mar 2015 22:11:03 +0000 (24 23:11 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 Mar 2015 13:35:24 +0000 (25 14:35 +0100)
tree1ffb9da2a07452947419501502137a781681fcb4
parent78fa62ff1bc0d66f0115b7147c4eb260ad22022a
m68k: memory: Replace memory_region_init_ram with memory_region_allocate_system_memory

Commit 0b183fc871:"memory: move mem_path handling to
memory_region_allocate_system_memory" split memory_region_init_ram and
memory_region_init_ram_from_file. Also it moved mem-path handling a step
up from memory_region_init_ram to memory_region_allocate_system_memory.

Therefore for any board that uses memory_region_init_ram directly,
-mem-path is not supported.

Fix this by replacing memory_region_init_ram with
memory_region_allocate_system_memory.

Signed-off-by: Dirk Mueller <dmueller@suse.com>
Message-Id: <CAL5wTH6X-GsT1AA8kEtP_e7oZWGZgi=fCcDfSs3wLgJN30DbUw@mail.gmail.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/m68k/an5206.c
hw/m68k/dummy_m68k.c
hw/m68k/mcf5208.c