blockdev: Keep track of monitor-owned BDS
commit9c4218e957331e1ba0ba7565730b0b71c49b8d70
authorMax Reitz <mreitz@redhat.com>
Fri, 29 Jan 2016 15:36:12 +0000 (29 16:36 +0100)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:50:46 +0000 (2 17:50 +0100)
tree941073a3588534db7b49e49d5ff210a62849020f
parent2c1d04e002dc91a6f34e8e683ea6b84f61a0b9fd
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>
blockdev.c
include/block/block_int.h
stubs/Makefile.objs
stubs/blockdev-close-all-bdrv-states.c [new file with mode: 0644]