static char *scsibus_get_fw_dev_path(DeviceState *dev)

{

    SCSIDevice *d = SCSI_DEVICE(dev);

    char path[100];



    snprintf(path, sizeof(path), "channel@%x/%s@%x,%x", d->channel,

             qdev_fw_name(dev), d->id, d->lun);



    return strdup(path);

}

static char *scsibus_get_fw_dev_path(DeviceState *dev)

{

    SCSIDevice *d = SCSI_DEVICE(dev);

    char path[100];



    snprintf(path, sizeof(path), "channel@%x/%s@%x,%x", d->channel,

             qdev_fw_name(dev), d->id, d->lun);



    return strdup(path);

}

static char *FUNC_0(DeviceState *VAR_0)

{

    SCSIDevice *d = SCSI_DEVICE(VAR_0);

    char VAR_1[100];



    snprintf(VAR_1, sizeof(VAR_1), "channel@%x/%s@%x,%x", d->channel,

             qdev_fw_name(VAR_0), d->id, d->lun);



    return strdup(VAR_1);

}

static char *FUNC_0(DeviceState *VAR_0)
{ SCSIDevice *d = SCSI_DEVICE(VAR_0); char VAR_1[100]; snprintf(VAR_1, sizeof(VAR_1), "channel@%x/%s@%x,%x", d->channel,
qdev_fw_name(VAR_0), d->id, d->lun); return strdup(VAR_1); }