Revision eae041fe block.c

b/block.c
3322 3322
    return drv->bdrv_get_info(bs, bdi);
3323 3323
}
3324 3324

  
3325
ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs)
3326
{
3327
    BlockDriver *drv = bs->drv;
3328
    if (drv && drv->bdrv_get_specific_info) {
3329
        return drv->bdrv_get_specific_info(bs);
3330
    }
3331
    return NULL;
3332
}
3333

  
3325 3334
int bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf,
3326 3335
                      int64_t pos, int size)
3327 3336
{

Also available in: Unified diff