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>
This commit is contained in:
Max Reitz
2016-01-29 16:36:12 +01:00
parent 2c1d04e002
commit 9c4218e957
4 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
#include "block/block_int.h"
void blockdev_close_all_bdrv_states(void)
{
}