aboutsummaryrefslogtreecommitdiff
path: root/memory_mapping.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2020-02-19 11:09:37 -0500
committerPatchew Importer <importer@patchew.org>2020-02-19 16:50:00 +0000
commit4428dcf7b990d6dae05de8611dcd7098121534c8 (patch)
tree7ca34572534e98a44a994c9f49078217aa09f0c1 /memory_mapping.c
parent173a36d8d165872183bb62d1bac4aff5ef5bf495 (diff)
downloadqemu-4428dcf7b990d6dae05de8611dcd7098121534c8.zip
qemu-4428dcf7b990d6dae05de8611dcd7098121534c8.tar.gz
qemu-4428dcf7b990d6dae05de8611dcd7098121534c8.tar.bz2
ppc/ppc405_boards: add RAM size checks
If user provided non-sense RAM size, board will ignore it and continue running with fixed RAM size. Also RAM is going to be allocated by generic code, so it won't be possible for board to fix CLI. Make it error message and exit to force user fix CLI, instead of accepting non-sense CLI values. PS: move fixed RAM size into mc->default_ram_size, so that generic code will know how much to allocate. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200219160953.13771-64-imammedo@redhat.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions