Revision 3fe4b700
b/block/vpc.c | ||
---|---|---|
265 | 265 |
return err; |
266 | 266 |
} |
267 | 267 |
|
268 |
static int vpc_reopen_prepare(BDRVReopenState *state, |
|
269 |
BlockReopenQueue *queue, Error **errp) |
|
270 |
{ |
|
271 |
return 0; |
|
272 |
} |
|
273 |
|
|
268 | 274 |
/* |
269 | 275 |
* Returns the absolute byte offset of the given sector in the image file. |
270 | 276 |
* If the sector is not allocated, -1 is returned instead. |
... | ... | |
783 | 789 |
.bdrv_probe = vpc_probe, |
784 | 790 |
.bdrv_open = vpc_open, |
785 | 791 |
.bdrv_close = vpc_close, |
792 |
.bdrv_reopen_prepare = vpc_reopen_prepare, |
|
786 | 793 |
.bdrv_create = vpc_create, |
787 | 794 |
|
788 | 795 |
.bdrv_read = vpc_co_read, |
Also available in: Unified diff