aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2016-03-16 19:54:40 +0100
committerKevin Wolf <kwolf@redhat.com>2016-03-17 15:47:56 +0100
commitfe1a9cbc339bb54d20f1ca4c1e8788d16944d5cf (patch)
treeb82a37e5db7cc2b3ecfe080f25a6f99e62eb046d /stubs
parent7c735873d93ac18a6f06850c7ca6b3722b1b32c5 (diff)
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>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/Makefile.objs2
-rw-r--r--stubs/blk-commit-all.c (renamed from stubs/bdrv-commit-all.c)4
2 files changed, 3 insertions, 3 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index e922de982f..9d9f1d037b 100644
--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -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
diff --git a/stubs/bdrv-commit-all.c b/stubs/blk-commit-all.c
index bf84a1d85a..c82fb7f5f8 100644
--- a/stubs/bdrv-commit-all.c
+++ b/stubs/blk-commit-all.c
@@ -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;
}