summary refs log tree commit diff stats
path: root/hw/core/null-machine.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:07 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:57 +0000
commita72f6805f30ceeb635d0fb04b3125d453f1045e8 (patch)
tree7558686a28c100f2ca1014009247e93921cc2c12 /hw/core/null-machine.c
parent08b8ba04c9d018fbbd64121da70ac9c68529cca0 (diff)
downloadfocaccia-qemu-a72f6805f30ceeb635d0fb04b3125d453f1045e8.tar.gz
focaccia-qemu-a72f6805f30ceeb635d0fb04b3125d453f1045e8.zip
arm/virt: 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 then map memory region provided by
  MachineState::ram_memdev

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200219160953.13771-34-imammedo@redhat.com>
Diffstat (limited to 'hw/core/null-machine.c')
0 files changed, 0 insertions, 0 deletions