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/raw.c | |
parent | d7bb72c83cfbcfd0563e158800e4052819223524 (diff) | |
download | qemu-29cdb2513c3f22f51d6f3585b41009576485cb35.zip qemu-29cdb2513c3f22f51d6f3585b41009576485cb35.tar.gz qemu-29cdb2513c3f22f51d6f3585b41009576485cb35.tar.bz2 |
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/raw.c')
-rw-r--r-- | block/raw.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/block/raw.c b/block/raw.c index 1cdac0c..7086e31 100644 --- a/block/raw.c +++ b/block/raw.c @@ -25,11 +25,6 @@ static void raw_close(BlockDriverState *bs) { } -static int coroutine_fn raw_co_flush(BlockDriverState *bs) -{ - return bdrv_co_flush(bs->file); -} - static int64_t raw_getlength(BlockDriverState *bs) { return bdrv_getlength(bs->file); @@ -113,7 +108,6 @@ static BlockDriver bdrv_raw = { .bdrv_co_readv = raw_co_readv, .bdrv_co_writev = raw_co_writev, - .bdrv_co_flush_to_disk = raw_co_flush, .bdrv_co_discard = raw_co_discard, .bdrv_probe = raw_probe, |