diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-10-20 09:41:07 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2021-10-22 23:35:47 +1000 |
commit | d4c624f482778cfe91938996a588df2df0e70f20 (patch) | |
tree | 1c3d2c9efcc5ad7868af1f6dc9a6cb031bcdeb23 /hw/riscv/boot.c | |
parent | 8d3dae162e61e6c71bbd3d9878cd1768ae9dd989 (diff) |
hw/riscv: microchip_pfsoc: Use MachineState::ram and MachineClass::default_ram_id
Using memory_region_init_ram(), which can't possibly handle vhost-user,
and can't work as expected with '-numa node,memdev' options.
Use MachineState::ram instead of manually initializing RAM memory
region, as well as by providing MachineClass::default_ram_id to
opt in to memdev scheme.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20211020014112.7336-2-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/riscv/boot.c')
0 files changed, 0 insertions, 0 deletions