Re: [PATCH v3] hw/riscv: virt: Use machine->ram as the system memory

2021-10-17 Thread Alistair Francis
On Sat, Oct 16, 2021 at 1:09 PM MingWang Li wrote: > > From: Mingwang Li > > If default main_mem is used to be registered as the system memory, > other memory cannot be initialized. Therefore, the system memory > should be initialized to the machine->ram, which consists of the > default main_mem

[PATCH v3] hw/riscv: virt: Use machine->ram as the system memory

2021-10-15 Thread MingWang Li
From: Mingwang Li If default main_mem is used to be registered as the system memory, other memory cannot be initialized. Therefore, the system memory should be initialized to the machine->ram, which consists of the default main_mem and other possible memory required by applications, such as share