summaryrefslogtreecommitdiff
path: root/stubs/blk-commit-all.c
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/blk-commit-all.c
parent7c735873d93ac18a6f06850c7ca6b3722b1b32c5 (diff)
downloadqemu-fe1a9cbc339bb54d20f1ca4c1e8788d16944d5cf.tar.gz
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/blk-commit-all.c')
-rw-r--r--stubs/blk-commit-all.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/stubs/blk-commit-all.c b/stubs/blk-commit-all.c
new file mode 100644
index 0000000000..c82fb7f5f8
--- /dev/null
+++ b/stubs/blk-commit-all.c
@@ -0,0 +1,8 @@
+#include "qemu/osdep.h"
+#include "qemu-common.h"
+#include "sysemu/block-backend.h"
+
+int blk_commit_all(void)
+{
+ return 0;
+}