diff options
author | Igor Mammedov <imammedo@redhat.com> | 2014-06-02 15:25:03 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-19 16:41:46 +0300 |
commit | b74545481187945965cf9f4df70b71d2f6cded4a (patch) | |
tree | 66b02a99a870635ec2cbd673887b2981eef194fe /stubs/pci-drive-hot-add.c | |
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>
Diffstat (limited to 'stubs/pci-drive-hot-add.c')
0 files changed, 0 insertions, 0 deletions