diff options
author | Xiao Guangrong | 2016-11-07 12:13:36 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2016-11-15 16:20:37 +0100 |
commit | c7f8d0f3a52b5ef8fdcd305cce438f67d7e06a9f (patch) | |
tree | 6d28df4ece2e18a9888aeab2e05d80a7419e5122 /hw/core/hotplug.c | |
parent | vhost: migration blocker only if shared log is used (diff) | |
download | qemu-c7f8d0f3a52b5ef8fdcd305cce438f67d7e06a9f.tar.gz qemu-c7f8d0f3a52b5ef8fdcd305cce438f67d7e06a9f.tar.xz qemu-c7f8d0f3a52b5ef8fdcd305cce438f67d7e06a9f.zip |
qdev: hotplug: drop HotplugHandler.post_plug callback
as nvdimm acpi is okay to build fit when the nvdimm device
has not been 'realized'
Suggested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/core/hotplug.c')
-rw-r--r-- | hw/core/hotplug.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/core/hotplug.c b/hw/core/hotplug.c index ab34c19461..17ac986685 100644 --- a/hw/core/hotplug.c +++ b/hw/core/hotplug.c @@ -35,17 +35,6 @@ void hotplug_handler_plug(HotplugHandler *plug_handler, } } -void hotplug_handler_post_plug(HotplugHandler *plug_handler, - DeviceState *plugged_dev, - Error **errp) -{ - HotplugHandlerClass *hdc = HOTPLUG_HANDLER_GET_CLASS(plug_handler); - - if (hdc->post_plug) { - hdc->post_plug(plug_handler, plugged_dev, errp); - } -} - void hotplug_handler_unplug_request(HotplugHandler *plug_handler, DeviceState *plugged_dev, Error **errp) |