const char *drive_get_serial(BlockDriverState *bdrv)

{

    DriveInfo *dinfo;



    TAILQ_FOREACH(dinfo, &drives, next) {

        if (dinfo->bdrv == bdrv)

            return dinfo->serial;

    }



    return "\0";

}

const char *drive_get_serial(BlockDriverState *bdrv)

{

    DriveInfo *dinfo;



    TAILQ_FOREACH(dinfo, &drives, next) {

        if (dinfo->bdrv == bdrv)

            return dinfo->serial;

    }



    return "\0";

}

const char *FUNC_0(BlockDriverState *VAR_0)

{

    DriveInfo *dinfo;



    TAILQ_FOREACH(dinfo, &drives, next) {

        if (dinfo->VAR_0 == VAR_0)

            return dinfo->serial;

    }



    return "\0";

}

const char *FUNC_0(BlockDriverState *VAR_0)
{ DriveInfo *dinfo; TAILQ_FOREACH(dinfo, &drives, next) { if (dinfo->VAR_0 == VAR_0)
return dinfo->serial; } return "\0"; }