summaryrefslogtreecommitdiffstats
path: root/hw/display/vga-pci.c
diff options
context:
space:
mode:
authorIgor Mammedov2014-02-05 16:36:52 +0100
committerMichael S. Tsirkin2014-02-10 09:27:00 +0100
commit5e95494380ecf83c97d28f72134ab45e0cace8f9 (patch)
tree20d5e5a53d96ea810ffdc2f828aa4c26f60c3f9e /hw/display/vga-pci.c
parentpci/pcie: convert PCIE hotplug to use hotplug-handler API (diff)
downloadqemu-5e95494380ecf83c97d28f72134ab45e0cace8f9.tar.gz
qemu-5e95494380ecf83c97d28f72134ab45e0cace8f9.tar.xz
qemu-5e95494380ecf83c97d28f72134ab45e0cace8f9.zip
hw/pci: switch to a generic hotplug handling for PCIDevice
make qdev_unplug()/device_set_realized() to call hotplug handler's plug/unplug methods if available and remove not needed anymore hot(un)plug handling from PCIDevice. In case if hotplug handler is not available, revert to the legacy hotplug method for compatibility with not yet converted buses. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/display/vga-pci.c')
0 files changed, 0 insertions, 0 deletions