aboutsummaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:17 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:58 +0000
commitbd457782b3b0a313f3991038eb55bc44369c72c6 (patch)
tree452e11bdd6a0c587616b8cb39f51bb13cabe76a2 /hw/ide
parent9ad54686924b67ccf83698759ad0296ed5711bb8 (diff)
downloadqemu-bd457782b3b0a313f3991038eb55bc44369c72c6.zip
qemu-bd457782b3b0a313f3991038eb55bc44369c72c6.tar.gz
qemu-bd457782b3b0a313f3991038eb55bc44369c72c6.tar.bz2
x86/pc: use memdev for RAM
memory_region_allocate_system_memory() API is going away, so replace it with memdev allocated MemoryRegion. The later is initialized by generic code, so board only needs to opt in to memdev scheme by providing MachineClass::default_ram_id and using MachineState::ram instead of manually initializing RAM memory region. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200219160953.13771-44-imammedo@redhat.com>
Diffstat (limited to 'hw/ide')
0 files changed, 0 insertions, 0 deletions