diff options
author | Igor Mammedov <imammedo@redhat.com> | 2020-02-19 11:09:32 -0500 |
---|---|---|
committer | Patchew Importer <importer@patchew.org> | 2020-02-19 16:49:59 +0000 |
commit | 3538e846cb8dad0912d1d9faf305d599879d3ad9 (patch) | |
tree | fa87439f8022d6d07003d773a354a611efdbd513 /nbd | |
parent | ec88838cdc77ad1699f9b44aba20fc23ff3ca484 (diff) | |
download | qemu-3538e846cb8dad0912d1d9faf305d599879d3ad9.zip qemu-3538e846cb8dad0912d1d9faf305d599879d3ad9.tar.gz qemu-3538e846cb8dad0912d1d9faf305d599879d3ad9.tar.bz2 |
ppc/e500: drop RAM size fixup
If user provided non-sense RAM size, board will complain and
continue running with max RAM size supported.
Also RAM is going to be allocated by generic code, so it won't be
possible for board to fix things up for user.
Make it error message and exit to force user fix CLI,
instead of accepting non-sense CLI values.
While at it, replace usage of global ram_size with
machine->ram_size
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-59-imammedo@redhat.com>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions