summary refs log tree commit diff stats
path: root/scripts/qapi/types.py
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:40 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:50:00 +0000
commitb28f01880eda878f66cbba54be98bfd96582e857 (patch)
tree4570dab59fc598c6c72e9cb889e0ffb8f492aecd /scripts/qapi/types.py
parenta0258e4afa10a8e9dba4901b7a8202dac24c72e2 (diff)
downloadfocaccia-qemu-b28f01880eda878f66cbba54be98bfd96582e857.tar.gz
focaccia-qemu-b28f01880eda878f66cbba54be98bfd96582e857.zip
ppc/{ppc440_bamboo, sam460ex}: 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: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20200219160953.13771-67-imammedo@redhat.com>
Diffstat (limited to 'scripts/qapi/types.py')
0 files changed, 0 insertions, 0 deletions