hw/arm/virt: Enable device memory cold/hot plug with ACPI boot
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Wed, 18 Sep 2019 13:06:27 +0000 (14:06 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 5 Oct 2019 21:12:08 +0000 (17:12 -0400)
commitcff51ac978c4fa0b3d0de0fd62d772d9003f123e
treee984b3b85e1552d27d09c061487b24d97014e86c
parent1f283ae1245ec79b84c161f8cf17c0518421e2ad
hw/arm/virt: Enable device memory cold/hot plug with ACPI boot

This initializes the GED device with base memory and irq, configures
ged memory hotplug event and builds the corresponding aml code. With
this, both hot and cold plug of device memory is enabled now for Guest
with ACPI boot. Memory cold plug support with Guest DT boot is not yet
supported.

As DSDT table gets changed by this, update bios-tables-test-allowed-diff.h
to avoid "make check" failure.

Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Message-Id: <20190918130633.4872-6-shameerali.kolothum.thodi@huawei.com>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/arm/Kconfig
hw/arm/virt-acpi-build.c
hw/arm/virt.c
include/hw/arm/virt.h
tests/bios-tables-test-allowed-diff.h