]> Git Repo - qemu.git/commitdiff
block: vpc image file reopen
authorJeff Cody <[email protected]>
Thu, 20 Sep 2012 19:13:33 +0000 (15:13 -0400)
committerKevin Wolf <[email protected]>
Mon, 24 Sep 2012 13:15:12 +0000 (15:15 +0200)
There is currently nothing that needs to be done for VPC image
file reopen.

Signed-off-by: Jeff Cody <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/vpc.c

index c0b82c4f574f10d6ee77bcd9515729f37c3c6cfd..b6bf52f1406e31b335731d294d2af6cb64af591c 100644 (file)
@@ -265,6 +265,12 @@ static int vpc_open(BlockDriverState *bs, int flags)
     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.
  * If the sector is not allocated, -1 is returned instead.
@@ -783,6 +789,7 @@ static BlockDriver bdrv_vpc = {
     .bdrv_probe     = vpc_probe,
     .bdrv_open      = vpc_open,
     .bdrv_close     = vpc_close,
+    .bdrv_reopen_prepare = vpc_reopen_prepare,
     .bdrv_create    = vpc_create,
 
     .bdrv_read              = vpc_co_read,
This page took 0.024334 seconds and 4 git commands to generate.