]> git.proxmox.com Git - mirror_qemu.git/commit
qdev: HotplugHandler: Rename unplug callback to unplug_request
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Sep 2014 09:28:19 +0000 (09:28 +0000)
committerAndreas Färber <afaerber@suse.de>
Wed, 15 Oct 2014 03:03:13 +0000 (05:03 +0200)
commit14d5a28fb6bb8ac6505ad1faca2690df56fef326
treeaf0cc9cec7ee1c233fc1105d3c8769fcb1676b8c
parentce9835e00df65bf5beb6c094c0865d8e60018310
qdev: HotplugHandler: Rename unplug callback to unplug_request

'HotplugHandler.unplug' callback is currently used as async
call to issue unplug request for device that implements it.
Renaming 'unplug' callback to 'unplug_request' should help to
avoid confusion about what callback does and would allow to
introduce 'unplug' callback that would perform actual device
removal when guest is ready for it.

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/acpi/piix4.c
hw/core/hotplug.c
hw/core/qdev.c
hw/isa/lpc_ich9.c
hw/pci-bridge/pci_bridge_dev.c
hw/pci/pcie.c
hw/pci/pcie_port.c
hw/pci/shpc.c
include/hw/hotplug.h
include/hw/pci/pcie.h
include/hw/pci/shpc.h