On Wed, 24 Sep 2014 14:04:46 +0200
Paolo Bonzini wrote:
> Il 24/09/2014 13:48, Igor Mammedov ha scritto:
> > @@ -239,10 +239,7 @@ void qdev_unplug(DeviceState *dev, Error **errp)
> > hotplug_handler_unplug(dev->parent_bus->hotplug_handler, dev,
> > errp);
> > }
> > } e
Il 24/09/2014 13:48, Igor Mammedov ha scritto:
> @@ -239,10 +239,7 @@ void qdev_unplug(DeviceState *dev, Error **errp)
> hotplug_handler_unplug(dev->parent_bus->hotplug_handler, dev,
> errp);
> }
> } else {
> -assert(dc->unplug != NULL);
> -if (dc->unplug
It removes not needed anymore BusState.allow_hotplug field and
DeviceClass.unplug callback.
Signed-off-by: Igor Mammedov
---
hw/core/qdev.c | 15 +++
include/hw/qdev-core.h | 7 +--
2 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/hw/core/qdev.c b/hw/core/