]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/qdev-core.h
qdev: Add simple/generic unplug callback for HotplugHandler
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Sep 2014 09:28:21 +0000 (09:28 +0000)
committerAndreas Färber <afaerber@suse.de>
Wed, 15 Oct 2014 03:03:13 +0000 (05:03 +0200)
commit014176f914ab8e41a88225e8f26569ef0e0bf223
treef235d260f9730c6a7d007d33bdaa9575deba8370
parent181a2c63236966b3c80eef131bac33a355a492da
qdev: Add simple/generic unplug callback for HotplugHandler

It will be used in shallow conversion from legacy hotplug
mechanism and eventually replace all the uses of old mechanism
DeviceClass::unplug = qdev_simple_unplug_cb()

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/core/qdev.c
include/hw/qdev-core.h