On 26/01/2015 21:43, Max Reitz wrote:
>> If the NBD server is attached to the BDS, it should keep serving the BDS.
> 
> The problem is that it is no longer attached to the BDS, but to the BB.

That's not necessarily a problem. :)  It is the cause of the problem though.

Is it possible to attach two BBs to the same BDS?

Because part of the solution could be to introduce a new blockdev-serve
command that takes a BDS, creates a BB and exports that BB.

> I think to retain compatibility we could either just do what we always
> did (although I find it wrong), or we could simply set up an eject
> blocker when attaching an NBD server to a BB. What do you think?

An eject blocker would also break backwards-compatibility though.  What
about an eject notifier?  Would that concept make sense?

Paolo

Reply via email to