diff options
author | Max Reitz <mreitz@redhat.com> | 2016-01-29 16:36:12 +0100 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2016-02-02 17:50:46 +0100 |
commit | 9c4218e957331e1ba0ba7565730b0b71c49b8d70 (patch) | |
tree | 941073a3588534db7b49e49d5ff210a62849020f /stubs | |
parent | 2c1d04e002dc91a6f34e8e683ea6b84f61a0b9fd (diff) |
blockdev: Keep track of monitor-owned BDS
As a side effect, we can now make x-blockdev-del's check whether a BDS
is actually owned by the monitor explicit.
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/blockdev-close-all-bdrv-states.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs index d7898a0c4a..e922de982f 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 += blockdev-close-all-bdrv-states.o stub-obj-y += clock-warp.o stub-obj-y += cpu-get-clock.o stub-obj-y += cpu-get-icount.o diff --git a/stubs/blockdev-close-all-bdrv-states.c b/stubs/blockdev-close-all-bdrv-states.c new file mode 100644 index 0000000000..12d2442362 --- /dev/null +++ b/stubs/blockdev-close-all-bdrv-states.c @@ -0,0 +1,5 @@ +#include "block/block_int.h" + +void blockdev_close_all_bdrv_states(void) +{ +} |