block: Move some bdrv_*_all() functions to BB

Move bdrv_commit_all() and bdrv_flush_all() to the BlockBackend level.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
Max Reitz authored and Kevin Wolf committed 2016-03-17 15:47:56 +01:00
1 parent 7c735873d9
commit fe1a9cbc33
6 files changed
+41 -51

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
stub-obj-y += arch-query-cpu-def.o
stub-obj-y += bdrv-commit-all.o
stub-obj-y += blk-commit-all.o
stub-obj-y += blockdev-close-all-bdrv-states.o
stub-obj-y += clock-warp.o
stub-obj-y += cpu-get-clock.o
@@ -1,8 +1,8 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "block/block.h"
#include "sysemu/block-backend.h"
int bdrv_commit_all(void)
int blk_commit_all(void)
{
return 0;
}