aboutsummaryrefslogtreecommitdiff
path: root/hw/display/virtio-gpu-pci.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:08:56 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:55 +0000
commit70a2cb8e8d0f2ba549cc8d8b66e2f72e982ccd57 (patch)
treeab8ae6553483923dc0509d896047c408d0c49ff4 /hw/display/virtio-gpu-pci.c
parent4076cc9429326747ca9714a0720633db296b1959 (diff)
downloadqemu-70a2cb8e8d0f2ba549cc8d8b66e2f72e982ccd57.zip
qemu-70a2cb8e8d0f2ba549cc8d8b66e2f72e982ccd57.tar.gz
qemu-70a2cb8e8d0f2ba549cc8d8b66e2f72e982ccd57.tar.bz2
arm/mps2-tz: 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. PS: while at it add check for user supplied RAM size and error out if it mismatches board expected value. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200219160953.13771-23-imammedo@redhat.com>
Diffstat (limited to 'hw/display/virtio-gpu-pci.c')
0 files changed, 0 insertions, 0 deletions