summaryrefslogtreecommitdiffstats
path: root/hw/pci/pcie.c
diff options
context:
space:
mode:
authorIgor Mammedov2014-09-26 11:28:18 +0200
committerAndreas Färber2014-10-15 05:03:13 +0200
commitce9835e00df65bf5beb6c094c0865d8e60018310 (patch)
tree7fe485b0a2eba0916ae77ae2f8291c9190474dae /hw/pci/pcie.c
parentAccess BusState::allow_hotplug using wraper qbus_is_hotpluggable() (diff)
downloadqemu-ce9835e00df65bf5beb6c094c0865d8e60018310.tar.gz
qemu-ce9835e00df65bf5beb6c094c0865d8e60018310.tar.xz
qemu-ce9835e00df65bf5beb6c094c0865d8e60018310.zip
qdev: do not allow to instantiate non hotpluggable device with device_add
It will allow explicitly mark device as not hotpluggable and avoid its creation with following error at realize time and destroying it afterwards anyway. Instead of it will error out even before instance of device is created. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/pci/pcie.c')
0 files changed, 0 insertions, 0 deletions