]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/qdev-core.h
Access BusState::allow_hotplug using wraper qbus_is_hotpluggable()
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Sep 2014 09:28:17 +0000 (09:28 +0000)
committerAndreas Färber <afaerber@suse.de>
Wed, 15 Oct 2014 03:03:13 +0000 (05:03 +0200)
commit39b888bd88296b178082b5a2e4c6e82fcbd877f8
treec5fac970065e85e7fa65d81f64e3ef1271555cc7
parent49cec38591d6fef833cf12873fb4ff9748d0f08b
Access BusState::allow_hotplug using wraper qbus_is_hotpluggable()

It would allow to transparently switch detection whether Bus
is hotpluggable from allow_hotplug field to hotplug_handler
link and to drop allow_hotplug field once all users are
converted to hotplug handler API.

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
hw/i386/acpi-build.c
hw/pci/pci-hotplug-old.c
include/hw/qdev-core.h
qdev-monitor.c