Re: [Qemu-devel] [PATCH v3 5/7] acpi:cpu hotplug: set pcmachine as icc bus' hotplug handler

2015-01-29 Thread Igor Mammedov
On Wed, 14 Jan 2015 15:27:28 +0800 Zhu Guihua wrote: > From: Gu Zheng > > As the pre-check in the qdev_device_add(): > if (qdev_hotplug && bus && !qbus_is_hotpluggable(bus)) { > qerror_report(QERR_BUS_NO_HOTPLUG, bus->name); > return NULL; > } > if device has parent bus,

[Qemu-devel] [PATCH v3 5/7] acpi:cpu hotplug: set pcmachine as icc bus' hotplug handler

2015-01-13 Thread Zhu Guihua
From: Gu Zheng As the pre-check in the qdev_device_add(): if (qdev_hotplug && bus && !qbus_is_hotpluggable(bus)) { qerror_report(QERR_BUS_NO_HOTPLUG, bus->name); return NULL; } if device has parent bus, the bus must have valid hotplug_handler, otherwise can not hot plug. C