]> Git Repo - qemu.git/commit - hw/core/qdev.c
qdev: hotplug: Introduce HotplugHandler.pre_plug() callback
authorIgor Mammedov <[email protected]>
Thu, 12 May 2016 03:48:15 +0000 (09:18 +0530)
committerDavid Gibson <[email protected]>
Fri, 17 Jun 2016 06:33:48 +0000 (16:33 +1000)
commit41346263c4039fd2edca61c031c9396577693036
treee20fa96388bb62c967490408973ccb7e58e51b21
parent2e11b15dff0bed8f29e844940f127e6e89cd766c
qdev: hotplug: Introduce HotplugHandler.pre_plug() callback

pre_plug callback is to be called before device.realize() is executed.
This would allow to check/set device's properties from HotplugHandler.

Signed-off-by: Igor Mammedov <[email protected]>
Signed-off-by: Bharata B Rao <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/core/hotplug.c
hw/core/qdev.c
include/hw/hotplug.h
This page took 0.026511 seconds and 4 git commands to generate.