block: vpc image file reopen
There is currently nothing that needs to be done for VPC image file reopen. Signed-off-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
ecfe2bbabb
commit
3fe4b70008
|
@ -265,6 +265,12 @@ static int vpc_open(BlockDriverState *bs, int flags)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int vpc_reopen_prepare(BDRVReopenState *state,
|
||||||
|
BlockReopenQueue *queue, Error **errp)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns the absolute byte offset of the given sector in the image file.
|
* Returns the absolute byte offset of the given sector in the image file.
|
||||||
* If the sector is not allocated, -1 is returned instead.
|
* If the sector is not allocated, -1 is returned instead.
|
||||||
|
@ -783,6 +789,7 @@ static BlockDriver bdrv_vpc = {
|
||||||
.bdrv_probe = vpc_probe,
|
.bdrv_probe = vpc_probe,
|
||||||
.bdrv_open = vpc_open,
|
.bdrv_open = vpc_open,
|
||||||
.bdrv_close = vpc_close,
|
.bdrv_close = vpc_close,
|
||||||
|
.bdrv_reopen_prepare = vpc_reopen_prepare,
|
||||||
.bdrv_create = vpc_create,
|
.bdrv_create = vpc_create,
|
||||||
|
|
||||||
.bdrv_read = vpc_co_read,
|
.bdrv_read = vpc_co_read,
|
||||||
|
|
Loading…
Reference in a new issue