diff options
Diffstat (limited to 'stubs')
-rw-r--r-- | stubs/Makefile.objs | 3 | ||||
-rw-r--r-- | stubs/bdrv-next-monitor-owned.c | 8 | ||||
-rw-r--r-- | stubs/blk-commit-all.c (renamed from stubs/bdrv-commit-all.c) | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs index e922de982f..b6d1e650db 100644 --- a/stubs/Makefile.objs +++ b/stubs/Makefile.objs @@ -1,5 +1,6 @@ stub-obj-y += arch-query-cpu-def.o -stub-obj-y += bdrv-commit-all.o +stub-obj-y += bdrv-next-monitor-owned.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-next-monitor-owned.c b/stubs/bdrv-next-monitor-owned.c new file mode 100644 index 0000000000..2acf6c3ec0 --- /dev/null +++ b/stubs/bdrv-next-monitor-owned.c @@ -0,0 +1,8 @@ +#include "qemu/osdep.h" +#include "qemu-common.h" +#include "block/block.h" + +BlockDriverState *bdrv_next_monitor_owned(BlockDriverState *bs) +{ + return NULL; +} 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; } |