Add hotplug memory feature on aarch64 virt platfom. This patch is
required to emulate a DIMM type memory like NVDIMM.
Signed-off-by: Kwangwoo Lee
---
default-configs/aarch64-softmmu.mak | 1 +
hw/arm/virt.c | 110
include/hw/arm
This patch uses configurable IO base and size to create NPIO AML for
ACPI NFIT. Since a different architecture like AArch64 does not use
port-mapped IO, a configurable IO base is required to create correct
mapping of ACPI IO address and size.
Signed-off-by: Kwangwoo Lee
---
hw/acpi/nvdimm.c
includes the changes of setting
ACPI IO base and size during NVDIMM initialization.
The last part enables NVDIMM on arm virt platform. The feature is
disabled by default. So explicit option - nvdimm=on - is required to
enable the feature.
Kwangwoo Lee (3):
hw/arm/virt: add hotplug memory support
acpi=force" \
-nographic
Signed-off-by: Kwangwoo Lee
---
default-configs/aarch64-softmmu.mak | 2 ++
hw/arm/virt-acpi-build.c| 5 +
hw/arm/virt.c | 34 ++
include/hw/arm/virt-acpi-build.h| 1