Re: [Qemu-devel] [PATCH 8/9] hw/sparc/sun4m: Simplify the RAM creation

2019-06-25 Thread Philippe Mathieu-Daudé
On 6/25/19 9:14 AM, Artyom Tarasenko wrote: > On Tue, Jun 25, 2019 at 12:01 AM Philippe Mathieu-Daudé > wrote: >> >> Now than the empty_slot device can be overlapped, use it to cover >> the maximum memory range. > > Whilie this is true for SS-5, the SS-20 does trap on missing RAM, so > empty_slo

Re: [Qemu-devel] [PATCH 8/9] hw/sparc/sun4m: Simplify the RAM creation

2019-06-25 Thread Artyom Tarasenko
On Tue, Jun 25, 2019 at 12:01 AM Philippe Mathieu-Daudé wrote: > > Now than the empty_slot device can be overlapped, use it to cover > the maximum memory range. Whilie this is true for SS-5, the SS-20 does trap on missing RAM, so empty_slot_init must be conditional. nack. > We can simplify now t

[Qemu-devel] [PATCH 8/9] hw/sparc/sun4m: Simplify the RAM creation

2019-06-24 Thread Philippe Mathieu-Daudé
Now than the empty_slot device can be overlapped, use it to cover the maximum memory range. We can simplify now the main RAM is created. The TYPE_SUN4M_MEMORY is not migratable, simply remove it. Signed-off-by: Philippe Mathieu-Daudé --- hw/sparc/sun4m.c | 85