[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/riscv: virt: bugfix the memory-backend-file command is in
Re: [PATCH] hw/riscv: virt: bugfix the memory-backend-file command is invalid
Tue, 12 Oct 2021 09:27:48 +1000
On Thu, Sep 30, 2021 at 12:03 AM MingWang Li <firstname.lastname@example.org> wrote:
> From: Mingwang Li <email@example.com>
> 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 shared hugepage memory in DPDK.
> Also, the mc->defaul_ram_id should be set to the default main_mem,
> which is named as "riscv_virt_board.ram".
> Signed-off-by: Mingwang Li <firstname.lastname@example.org>
> Signed-off-by: Yifei Jiang <email@example.com>
Reviewed-by: Alistair Francis <firstname.lastname@example.org>