diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-03-12 18:26:01 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-04-05 14:54:39 +0200 |
commit | 29cdb2513c3f22f51d6f3585b41009576485cb35 (patch) | |
tree | 2ef59e8534453a4405e41c97ed8befe89ace6276 /block/vdi.c | |
parent | d7bb72c83cfbcfd0563e158800e4052819223524 (diff) |
block: push recursive flushing up from drivers
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/vdi.c')
-rw-r--r-- | block/vdi.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/block/vdi.c b/block/vdi.c index 6a0011fbcc..f8fa865745 100644 --- a/block/vdi.c +++ b/block/vdi.c @@ -930,13 +930,6 @@ static void vdi_close(BlockDriverState *bs) error_free(s->migration_blocker); } -static coroutine_fn int vdi_co_flush(BlockDriverState *bs) -{ - logout("\n"); - return bdrv_co_flush(bs->file); -} - - static QEMUOptionParameter vdi_create_options[] = { { .name = BLOCK_OPT_SIZE, @@ -969,7 +962,6 @@ static BlockDriver bdrv_vdi = { .bdrv_open = vdi_open, .bdrv_close = vdi_close, .bdrv_create = vdi_create, - .bdrv_co_flush_to_disk = vdi_co_flush, .bdrv_co_is_allocated = vdi_co_is_allocated, .bdrv_make_empty = vdi_make_empty, |