int qdev_unplug(DeviceState *dev)
{
    if (!dev->parent_bus->allow_hotplug) {
        qemu_error("Bus %s does not support hotplugging\n",
                   dev->parent_bus->name);
        return -1;
    }
    return dev->info->unplug(dev);
}
int qdev_unplug(DeviceState *dev)
{
    if (!dev->parent_bus->allow_hotplug) {
        qemu_error("Bus %s does not support hotplugging\n",
                   dev->parent_bus->name);
        return -1;
    }
    return dev->info->unplug(dev);
}
int FUNC_0(DeviceState *VAR_0)
{
    if (!VAR_0->parent_bus->allow_hotplug) {
        qemu_error("Bus %s does not support hotplugging\n",
                   VAR_0->parent_bus->name);
        return -1;
    }
    return VAR_0->info->unplug(VAR_0);
}
int FUNC_0(DeviceState *VAR_0)
{ if (!VAR_0->parent_bus->allow_hotplug) { qemu_error("Bus %s does not support hotplugging\n",
VAR_0->parent_bus->name); return -1; } return VAR_0->info->unplug(VAR_0); }