virtio-pci: Drop BusState::allow_hotplug
commit7f17a917150abb38221d32a35398527b3e9a87cb
authorIgor Mammedov <imammedo@redhat.com>
Fri, 26 Sep 2014 09:28:25 +0000 (26 09:28 +0000)
committerAndreas Färber <afaerber@suse.de>
Wed, 15 Oct 2014 03:03:13 +0000 (15 05:03 +0200)
treed6619a7443eb8b64b6c959c27ce18c8ca4a6282d
parentc32e36f6ab847e0726542a822606a3525f959ff4
virtio-pci: Drop BusState::allow_hotplug

virtio-pci-bus is an internal object of composite
virtio-pci device and it doesn't participate in
-device/device_add hotplug flow, and since it's
not required by bus_add_child() that BUS must
be hotpluggable to be able to add child at runtime,
it's possible to drop not needed 'allow_hotplug'
field.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/virtio/virtio-pci.c