Re: [PATCH v2 3/6] hw/mips/malta: Introduce MaltaMachineClass::max_ramsize

2020-06-30 Thread Philippe Mathieu-Daudé
On 6/30/20 4:52 PM, Philippe Mathieu-Daudé wrote: > The maximum RAM size is tied to the machine. First add the > MaltaMachineClass, and add 'max_ramsize' to it. Set it to > the current value of 2 GB, and adapt the code checking for > the requested RAM is usable by the machine. > > Signed-off-by:

[PATCH v2 3/6] hw/mips/malta: Introduce MaltaMachineClass::max_ramsize

2020-06-30 Thread Philippe Mathieu-Daudé
The maximum RAM size is tied to the machine. First add the MaltaMachineClass, and add 'max_ramsize' to it. Set it to the current value of 2 GB, and adapt the code checking for the requested RAM is usable by the machine. Signed-off-by: Philippe Mathieu-Daudé --- hw/mips/malta.c | 30