pc: add cpu hotplug handler to PC_MACHINE
commit5279569eead697a41aa34b300ebbf13e4782f4f5
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Wed, 22 Oct 2014 03:24:28 +0000 (22 11:24 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 2 Nov 2014 11:44:11 +0000 (2 13:44 +0200)
tree044de4c451deeae83fa3afd06ee3346e7668be83
parent08bba95bd3782c74de9cac29e6f8f6b7a5d50392
pc: add cpu hotplug handler to PC_MACHINE

Add cpu hotplug handler to PC_MACHINE, which will perform the acpi
cpu hotplug callback via hotplug_handler API.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
hw/i386/pc.c