On 2/17/20 9:34 AM, Igor Mammedov wrote:
> 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 <imamm...@redhat.com>
> Acked-by: David Gibson <da...@gibson.dropbear.id.au>
> ---
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~


Reply via email to