commit | b74545481187945965cf9f4df70b71d2f6cded4a | [log] [tgz] |
---|---|---|
author | Igor Mammedov <imammedo@redhat.com> | Mon Jun 02 15:25:03 2014 +0200 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu Jun 19 16:41:46 2014 +0300 |
tree | 66b02a99a870635ec2cbd673887b2981eef194fe | |
parent | c270fb9eff1290e8a4a49040eba1305fec2ce0ec [diff] |
qdev: hotplug for bus-less devices Add get_hotplug_handler() method to machine, and make bus-less device use it during hotplug as a means to discover a hotplug handler controller. The returned controller is used to perform hotplug actions. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>