Re: [Qemu-devel] [PATCH] acpi: add acpi_send_gpe_event() to rise sci for hotplug

2015-03-16 Thread Zhu Guihua
On 03/16/2015 10:35 PM, Michael S. Tsirkin wrote: On Mon, Mar 16, 2015 at 05:39:44PM +0800, Zhu Guihua wrote: Add a new API named acpi_send_gpe_event() to send hotplug SCI. This API can be used by pci, cpu and memory hotplug. Signed-off-by: Zhu Guihua Good cleanup, but needs to fix up the co

Re: [Qemu-devel] [PATCH] acpi: add acpi_send_gpe_event() to rise sci for hotplug

2015-03-16 Thread Michael S. Tsirkin
On Mon, Mar 16, 2015 at 05:39:44PM +0800, Zhu Guihua wrote: > Add a new API named acpi_send_gpe_event() to send hotplug SCI. > This API can be used by pci, cpu and memory hotplug. > > Signed-off-by: Zhu Guihua Good cleanup, but needs to fix up the coding style. > --- > hw/acpi/core.c

[Qemu-devel] [PATCH] acpi: add acpi_send_gpe_event() to rise sci for hotplug

2015-03-16 Thread Zhu Guihua
Add a new API named acpi_send_gpe_event() to send hotplug SCI. This API can be used by pci, cpu and memory hotplug. Signed-off-by: Zhu Guihua --- hw/acpi/core.c | 7 +++ hw/acpi/cpu_hotplug.c| 3 +-- hw/acpi/memory_hotplug.c | 3 +-- hw/acpi/pcihp.c