Revision b6b8a333 block/vmdk.c
b/block/vmdk.c | ||
---|---|---|
1042 | 1042 |
return NULL; |
1043 | 1043 |
} |
1044 | 1044 |
|
1045 |
static int coroutine_fn vmdk_co_is_allocated(BlockDriverState *bs,
|
|
1045 |
static int64_t coroutine_fn vmdk_co_get_block_status(BlockDriverState *bs,
|
|
1046 | 1046 |
int64_t sector_num, int nb_sectors, int *pnum) |
1047 | 1047 |
{ |
1048 | 1048 |
BDRVVmdkState *s = bs->opaque; |
... | ... | |
1837 | 1837 |
.bdrv_close = vmdk_close, |
1838 | 1838 |
.bdrv_create = vmdk_create, |
1839 | 1839 |
.bdrv_co_flush_to_disk = vmdk_co_flush, |
1840 |
.bdrv_co_is_allocated = vmdk_co_is_allocated,
|
|
1840 |
.bdrv_co_get_block_status = vmdk_co_get_block_status,
|
|
1841 | 1841 |
.bdrv_get_allocated_file_size = vmdk_get_allocated_file_size, |
1842 | 1842 |
.bdrv_has_zero_init = vmdk_has_zero_init, |
1843 | 1843 |
|
Also available in: Unified diff