From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG9d0-0007mo-EI for qemu-devel@nongnu.org; Mon, 24 Sep 2012 10:27:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TG9ct-0007B6-7F for qemu-devel@nongnu.org; Mon, 24 Sep 2012 10:27:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TG9cs-0007Al-WE for qemu-devel@nongnu.org; Mon, 24 Sep 2012 10:27:11 -0400 From: Kevin Wolf Date: Mon, 24 Sep 2012 16:26:45 +0200 Message-Id: <1348496808-8159-17-git-send-email-kwolf@redhat.com> In-Reply-To: <1348496808-8159-1-git-send-email-kwolf@redhat.com> References: <1348496808-8159-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 16/19] block: vdi image file reopen List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Jeff Cody There is currently nothing that needs to be done for VDI reopen. Signed-off-by: Jeff Cody Signed-off-by: Kevin Wolf --- block/vdi.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/block/vdi.c b/block/vdi.c index 550cf58..f35b12e 100644 --- a/block/vdi.c +++ b/block/vdi.c @@ -454,6 +454,12 @@ static int vdi_open(BlockDriverState *bs, int flags) return -1; } +static int vdi_reopen_prepare(BDRVReopenState *state, + BlockReopenQueue *queue, Error **errp) +{ + return 0; +} + static int coroutine_fn vdi_co_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, int *pnum) { @@ -761,6 +767,7 @@ static BlockDriver bdrv_vdi = { .bdrv_probe = vdi_probe, .bdrv_open = vdi_open, .bdrv_close = vdi_close, + .bdrv_reopen_prepare = vdi_reopen_prepare, .bdrv_create = vdi_create, .bdrv_co_is_allocated = vdi_co_is_allocated, .bdrv_make_empty = vdi_make_empty, -- 1.7.6.5