diff options
author | Max Reitz <mreitz@redhat.com> | 2016-03-16 19:54:41 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:49:38 -0600 |
commit | ddfd4c728a18897c16f803aebb09bb0c84989cdf (patch) | |
tree | 5b9362885416d944d98ef5fe3a514a5dbd8cc458 /stubs | |
parent | 9344f252971849af15ef6fd4527c7e4259f7d4b1 (diff) | |
download | hqemu-ddfd4c728a18897c16f803aebb09bb0c84989cdf.zip hqemu-ddfd4c728a18897c16f803aebb09bb0c84989cdf.tar.gz |
block: Add bdrv_next_monitor_owned()
Add a function for iterating over all monitor-owned BlockDriverStates so
the generic block layer can do so.
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.objs | 1 | ||||
-rw-r--r-- | stubs/bdrv-next-monitor-owned.c | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs index 9d9f1d0..b6d1e65 100644 --- a/stubs/Makefile.objs +++ b/stubs/Makefile.objs @@ -1,4 +1,5 @@ stub-obj-y += arch-query-cpu-def.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 diff --git a/stubs/bdrv-next-monitor-owned.c b/stubs/bdrv-next-monitor-owned.c new file mode 100644 index 0000000..2acf6c3 --- /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; +} |