Revision ecfe2bba block/vdi.c
b/block/vdi.c | ||
---|---|---|
454 | 454 |
return -1; |
455 | 455 |
} |
456 | 456 |
|
457 |
static int vdi_reopen_prepare(BDRVReopenState *state, |
|
458 |
BlockReopenQueue *queue, Error **errp) |
|
459 |
{ |
|
460 |
return 0; |
|
461 |
} |
|
462 |
|
|
457 | 463 |
static int coroutine_fn vdi_co_is_allocated(BlockDriverState *bs, |
458 | 464 |
int64_t sector_num, int nb_sectors, int *pnum) |
459 | 465 |
{ |
... | ... | |
761 | 767 |
.bdrv_probe = vdi_probe, |
762 | 768 |
.bdrv_open = vdi_open, |
763 | 769 |
.bdrv_close = vdi_close, |
770 |
.bdrv_reopen_prepare = vdi_reopen_prepare, |
|
764 | 771 |
.bdrv_create = vdi_create, |
765 | 772 |
.bdrv_co_is_allocated = vdi_co_is_allocated, |
766 | 773 |
.bdrv_make_empty = vdi_make_empty, |
Also available in: Unified diff