summary refs log tree commit diff stats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:36 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:50:00 +0000
commit173a36d8d165872183bb62d1bac4aff5ef5bf495 (patch)
tree5c05c7824e3a6672cc4cab5e8b8d524229713db1 /scripts/qapi/source.py
parent8ee06e4ccb0f447caf9dc884b98986c155915e5c (diff)
downloadfocaccia-qemu-173a36d8d165872183bb62d1bac4aff5ef5bf495.tar.gz
focaccia-qemu-173a36d8d165872183bb62d1bac4aff5ef5bf495.zip
ppc/pnv: 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>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20200219160953.13771-63-imammedo@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions