summaryrefslogtreecommitdiffstats
path: root/hw/i386/microvm.c
diff options
context:
space:
mode:
authorIgor Mammedov2020-02-19 17:09:15 +0100
committerPatchew Importer2020-02-19 17:49:57 +0100
commit7c59c1e0cced0da34263d890902ec2b3dee8238b (patch)
tree39ee454149846754f7cd98ebf6d36bad8eac4abc /hw/i386/microvm.c
parentcris/axis_dev88: use memdev for RAM (diff)
downloadqemu-7c59c1e0cced0da34263d890902ec2b3dee8238b.tar.gz
qemu-7c59c1e0cced0da34263d890902ec2b3dee8238b.tar.xz
qemu-7c59c1e0cced0da34263d890902ec2b3dee8238b.zip
hppa: 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: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200219160953.13771-42-imammedo@redhat.com>
Diffstat (limited to 'hw/i386/microvm.c')
0 files changed, 0 insertions, 0 deletions