OSDN Git Service

acpi, pc: Add hotunplug request cb for pc machine.
authorTang Chen <tangchen@cn.fujitsu.com>
Wed, 28 Jan 2015 07:45:37 +0000 (15:45 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Feb 2015 11:42:18 +0000 (12:42 +0100)
commitd9c5c5b8a81433921a75390a9951436424b5c4c5
tree7b5f2f7136483ff12014266080f832469b0a4601
parent25f8dd96598042a88fdd970d5531584b589b10e4
acpi, pc: Add hotunplug request cb for pc machine.

Memory and CPU hot unplug are both asynchronous procedures.
They both need unplug request callback to initiate unplug operation.

Add unplug handler to pc machine that will be used by following
CPU and memory unplug patches.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
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>
hw/i386/pc.c