acpi: add acpi_send_gpe_event() to rise sci for hotplug
authorZhu Guihua <zhugh.fnst@cn.fujitsu.com>
Wed, 13 May 2015 09:21:36 +0000 (17:21 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Jun 2015 16:19:16 +0000 (18:19 +0200)
commitca9b46bcecc0f06882eec1b152b71f93a066da79
tree2032515389c77fe993967b79f864f33d751d2274
parentd5aaa1b0456033fc9ff723ac881ebe1b61360cca
acpi: add acpi_send_gpe_event() to rise sci for hotplug

Add a new API named acpi_send_gpe_event() to send hotplug SCI.
This API can be used by pci, cpu and memory hotplug.

This patch is rebased on master.

Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
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/acpi/core.c
hw/acpi/cpu_hotplug.c
hw/acpi/memory_hotplug.c
hw/acpi/pcihp.c
include/hw/acpi/acpi.h
include/hw/acpi/memory_hotplug.h
include/hw/acpi/pc-hotplug.h