Am 08.02.2016 um 15:14 hat Alberto Garcia geschrieben: > When x-blockdev-del is performed on a BlockBackend that has inserted > media it will only succeed if the BDS doesn't have any additional > references. > > The only problem with this is that if the BDS was created separately > using blockdev-add then the backend won't be able to be destroyed > unless the BDS is ejected first. This is an unnecessary restriction. > > Now that we have a list of monitor-owned BDSs we can allow > x-blockdev-del to work in this scenario if the BDS has exactly one > extra reference and that reference is from the monitor. > > Signed-off-by: Alberto Garcia <be...@igalia.com>
This means that what you created with two blockdev-add commands would be destroyed with a single blockdev-del command. I think we all agreed that blockdev-add and blockdev-del should always come in pairs. Kevin