summary refs log tree commit diff stats
path: root/scripts/qapi/common.py
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2019-09-18 14:06:24 +0100
committerMichael S. Tsirkin <mst@redhat.com>2019-10-05 17:12:08 -0400
commit22338fea781cd26618b775afec068bc7238ff5c6 (patch)
tree4f1f0287930c63bd12c067efe679f8d5dcdb8698 /scripts/qapi/common.py
parent091c466e26867656d3d650a3a5a40169b97648a1 (diff)
downloadfocaccia-qemu-22338fea781cd26618b775afec068bc7238ff5c6.tar.gz
focaccia-qemu-22338fea781cd26618b775afec068bc7238ff5c6.zip
hw/acpi: Do not create memory hotplug method when handler is not defined
With Hardware-reduced ACPI, the GED device will manage ACPI
hotplug entirely. As a consequence, make the memory specific
events AML generation optional. The code will only be added
when the method name is not NULL.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20190918130633.4872-3-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>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions