static void vhost_ccw_scsi_realize(VirtioCcwDevice *ccw_dev, Error **errp)

{

    VHostSCSICcw *dev = VHOST_SCSI_CCW(ccw_dev);

    DeviceState *vdev = DEVICE(&dev->vdev);

    Error *err = NULL;



    qdev_set_parent_bus(vdev, BUS(&ccw_dev->bus));

    object_property_set_bool(OBJECT(vdev), true, "realized", &err);

    if (err) {

        error_propagate(errp, err);

    }

}

static void vhost_ccw_scsi_realize(VirtioCcwDevice *ccw_dev, Error **errp)

{

    VHostSCSICcw *dev = VHOST_SCSI_CCW(ccw_dev);

    DeviceState *vdev = DEVICE(&dev->vdev);

    Error *err = NULL;



    qdev_set_parent_bus(vdev, BUS(&ccw_dev->bus));

    object_property_set_bool(OBJECT(vdev), true, "realized", &err);

    if (err) {

        error_propagate(errp, err);

    }

}

static void FUNC_0(VirtioCcwDevice *VAR_0, Error **VAR_1)

{

    VHostSCSICcw *dev = VHOST_SCSI_CCW(VAR_0);

    DeviceState *vdev = DEVICE(&dev->vdev);

    Error *err = NULL;



    qdev_set_parent_bus(vdev, BUS(&VAR_0->bus));

    object_property_set_bool(OBJECT(vdev), true, "realized", &err);

    if (err) {

        error_propagate(VAR_1, err);

    }

}

static void FUNC_0(VirtioCcwDevice *VAR_0, Error **VAR_1)
{ VHostSCSICcw *dev = VHOST_SCSI_CCW(VAR_0); DeviceState *vdev = DEVICE(&dev->vdev); Error *err = NULL; qdev_set_parent_bus(vdev, BUS(&VAR_0->bus)); object_property_set_bool(OBJECT(vdev), true, "realized", &err); if (err) { error_propagate(VAR_1, err); } }