aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2016-01-29 16:36:12 +0100
committerMax Reitz <mreitz@redhat.com>2016-02-02 17:50:46 +0100
commit9c4218e957331e1ba0ba7565730b0b71c49b8d70 (patch)
tree941073a3588534db7b49e49d5ff210a62849020f /stubs
parent2c1d04e002dc91a6f34e8e683ea6b84f61a0b9fd (diff)
downloadqemu-9c4218e957331e1ba0ba7565730b0b71c49b8d70.zip
qemu-9c4218e957331e1ba0ba7565730b0b71c49b8d70.tar.gz
qemu-9c4218e957331e1ba0ba7565730b0b71c49b8d70.tar.bz2
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.objs1
-rw-r--r--stubs/blockdev-close-all-bdrv-states.c5
2 files changed, 6 insertions, 0 deletions
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index d7898a0..e922de9 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 0000000..12d2442
--- /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)
+{
+}