aboutsummaryrefslogtreecommitdiff
path: root/hw/display/virtio-gpu-pci.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:08:59 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:49:56 +0000
commit7998beb9c2e280f0b7424223747941f106e2e854 (patch)
tree0eed3ef1e7a914edf2e92bb3d373c5b79efd2e20 /hw/display/virtio-gpu-pci.c
parent3ed61312bdb8bcf4da092328de15a1d6927323cf (diff)
downloadqemu-7998beb9c2e280f0b7424223747941f106e2e854.zip
qemu-7998beb9c2e280f0b7424223747941f106e2e854.tar.gz
qemu-7998beb9c2e280f0b7424223747941f106e2e854.tar.bz2
arm/nseries: 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> Message-Id: <20200219160953.13771-26-imammedo@redhat.com>
Diffstat (limited to 'hw/display/virtio-gpu-pci.c')
0 files changed, 0 insertions, 0 deletions